Function efuse_GetCurrentSize() is not used, remove it. Signed-off-by: Michael Straube <straube.linux@xxxxxxxxx> --- drivers/staging/r8188eu/core/rtw_efuse.c | 9 --------- drivers/staging/r8188eu/include/rtw_efuse.h | 1 - 2 files changed, 10 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_efuse.c b/drivers/staging/r8188eu/core/rtw_efuse.c index 958954473d9b..cb4ad21f00c1 100644 --- a/drivers/staging/r8188eu/core/rtw_efuse.c +++ b/drivers/staging/r8188eu/core/rtw_efuse.c @@ -286,15 +286,6 @@ u16 efuse_GetMaxSize(struct adapter *padapter) return max_size; } -u8 efuse_GetCurrentSize(struct adapter *padapter, u16 *size) -{ - rtl8188e_EfusePowerSwitch(padapter, false, true); - *size = rtl8188e_EfuseGetCurrentSize(padapter, EFUSE_WIFI, false); - rtl8188e_EfusePowerSwitch(padapter, false, false); - - return _SUCCESS; -} - u8 rtw_efuse_map_read(struct adapter *padapter, u16 addr, u16 cnts, u8 *data) { u16 mapLen = 0; diff --git a/drivers/staging/r8188eu/include/rtw_efuse.h b/drivers/staging/r8188eu/include/rtw_efuse.h index 81407efbdc44..a6e36be6ee76 100644 --- a/drivers/staging/r8188eu/include/rtw_efuse.h +++ b/drivers/staging/r8188eu/include/rtw_efuse.h @@ -101,7 +101,6 @@ extern u8 fakeBTEfuseInitMap[]; extern u8 fakeBTEfuseModifiedMap[]; /*------------------------Export global variable----------------------------*/ -u8 efuse_GetCurrentSize(struct adapter *adapter, u16 *size); u16 efuse_GetMaxSize(struct adapter *adapter); u8 rtw_efuse_access(struct adapter *adapter, u8 read, u16 start_addr, u16 cnts, u8 *data); -- 2.33.0