Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove static functions that are provably never called. #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robertlipe
Copy link

Reduce warning count to zero.
All removed functions (BLSP_Boot2_Check_XZ_FW, BLSP_Boot2_Do_FW_Copy, BLSP_Boot2_Deal_One_FW, BLSP_Boot2_Rollback_PtEntry,
BLSP_Boot2_Get_MFG_StartReq exist in the non-mini version at bl602_boot2/bl602_boot2/blsp_boot2.c. There is no reason to have this code here (and static, so it's provably never used) when all the callers have been removed.

  • Other misc hygeine to get default warning count to zero.

Reduce warning count to zero.
All removed functions (BLSP_Boot2_Check_XZ_FW,  BLSP_Boot2_Do_FW_Copy,  BLSP_Boot2_Deal_One_FW, BLSP_Boot2_Rollback_PtEntry,
BLSP_Boot2_Get_MFG_StartReq exist in the non-mini version at bl602_boot2/bl602_boot2/blsp_boot2.c. There is no reason to have this code here (and static, so it's provably never used) when all the callers have been removed.

+ Other misc hygeine to get default warning count to zero.
@Avamander Avamander added the needs testing The functionality needs to be compiled/tested label Oct 29, 2020
@gamelaster gamelaster force-pushed the master branch 2 times, most recently from 5acb2ea to 3c827b2 Compare November 19, 2020 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs testing The functionality needs to be compiled/tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants