Skip to content

Commit c483887

Browse files
Philipp Hortmanngregkh
authored andcommitted
staging: rtl8723bs: Remove unused function Efuse_GetCurrentSize
Remove unused function Efuse_GetCurrentSize to shorten code. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/d1b8cb38670b99a75b0e916adde389ed13c15935.1730916582.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5054276 commit c483887

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

drivers/staging/rtl8723bs/core/rtw_efuse.c

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -80,31 +80,6 @@ u8 PwrState)
8080
Hal_EfusePowerSwitch(padapter, bWrite, PwrState);
8181
}
8282

83-
/*-----------------------------------------------------------------------------
84-
* Function: Efuse_GetCurrentSize
85-
*
86-
* Overview: Get current efuse size!!!
87-
*
88-
* Input: NONE
89-
*
90-
* Output: NONE
91-
*
92-
* Return: NONE
93-
*
94-
* Revised History:
95-
* When Who Remark
96-
* 11/16/2008 MHC Create Version 0.
97-
*
98-
*---------------------------------------------------------------------------*/
99-
u16
100-
Efuse_GetCurrentSize(
101-
struct adapter *padapter,
102-
u8 efuseType,
103-
bool bPseudoTest)
104-
{
105-
return Hal_EfuseGetCurrentSize(padapter, efuseType, bPseudoTest);
106-
}
107-
10883
/* 11/16/2008 MH Add description. Get current efuse area enabled word!!. */
10984
u8
11085
Efuse_CalculateWordCnts(u8 word_en)

drivers/staging/rtl8723bs/include/rtw_efuse.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ extern u8 fakeBTEfuseInitMap[];
9090
extern u8 fakeBTEfuseModifiedMap[];
9191
/*------------------------Export global variable----------------------------*/
9292

93-
u16 Efuse_GetCurrentSize(struct adapter *padapter, u8 efuseType, bool bPseudoTest);
9493
u8 Efuse_CalculateWordCnts(u8 word_en);
9594
void EFUSE_GetEfuseDefinition(struct adapter *padapter, u8 efuseType, u8 type, void *pOut, bool bPseudoTest);
9695
u8 efuse_OneByteRead(struct adapter *padapter, u16 addr, u8 *data, bool bPseudoTest);

0 commit comments

Comments
 (0)