Skip to content

Commit 561feaa

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

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,23 +1151,6 @@ static u8 Hal_EfuseWordEnableDataWrite(
11511151
return badworden;
11521152
}
11531153

1154-
static u8 hal_EfusePgCheckAvailableAddr(
1155-
struct adapter *padapter, u8 efuseType, u8 bPseudoTest
1156-
)
1157-
{
1158-
u16 max_available = 0;
1159-
u16 current_size;
1160-
1161-
1162-
EFUSE_GetEfuseDefinition(padapter, efuseType, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &max_available, bPseudoTest);
1163-
1164-
current_size = Efuse_GetCurrentSize(padapter, efuseType, bPseudoTest);
1165-
if (current_size >= max_available)
1166-
return false;
1167-
1168-
return true;
1169-
}
1170-
11711154
static u8 hal_EfusePgPacketWrite1ByteHeader(
11721155
struct adapter *padapter,
11731156
u8 efuseType,

0 commit comments

Comments
 (0)