Skip to content

Commit 2b8b60d

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

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,26 +1345,6 @@ static u8 hal_EfusePgPacketWriteHeader(
13451345
return bRet;
13461346
}
13471347

1348-
static u8 hal_EfusePgPacketWriteData(
1349-
struct adapter *padapter,
1350-
u8 efuseType,
1351-
u16 *pAddr,
1352-
struct pgpkt_struct *pTargetPkt,
1353-
u8 bPseudoTest
1354-
)
1355-
{
1356-
u16 efuse_addr;
1357-
u8 badworden;
1358-
1359-
1360-
efuse_addr = *pAddr;
1361-
badworden = Efuse_WordEnableDataWrite(padapter, efuse_addr+1, pTargetPkt->word_en, pTargetPkt->data, bPseudoTest);
1362-
if (badworden != 0x0F)
1363-
return false;
1364-
1365-
return true;
1366-
}
1367-
13681348
static struct hal_version ReadChipVersion8723B(struct adapter *padapter)
13691349
{
13701350
u32 value32;

0 commit comments

Comments
 (0)