Skip to content

Commit 442e4a4

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

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,24 +1327,6 @@ static u8 hal_EfusePgPacketWrite2ByteHeader(
13271327
return true;
13281328
}
13291329

1330-
static u8 hal_EfusePgPacketWriteHeader(
1331-
struct adapter *padapter,
1332-
u8 efuseType,
1333-
u16 *pAddr,
1334-
struct pgpkt_struct *pTargetPkt,
1335-
u8 bPseudoTest
1336-
)
1337-
{
1338-
u8 bRet = false;
1339-
1340-
if (pTargetPkt->offset >= EFUSE_MAX_SECTION_BASE)
1341-
bRet = hal_EfusePgPacketWrite2ByteHeader(padapter, efuseType, pAddr, pTargetPkt, bPseudoTest);
1342-
else
1343-
bRet = hal_EfusePgPacketWrite1ByteHeader(padapter, efuseType, pAddr, pTargetPkt, bPseudoTest);
1344-
1345-
return bRet;
1346-
}
1347-
13481330
static struct hal_version ReadChipVersion8723B(struct adapter *padapter)
13491331
{
13501332
u32 value32;

0 commit comments

Comments
 (0)