Skip to content

Commit a36a627

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

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,20 +1168,6 @@ static u8 hal_EfusePgCheckAvailableAddr(
11681168
return true;
11691169
}
11701170

1171-
static void hal_EfuseConstructPGPkt(
1172-
u8 offset,
1173-
u8 word_en,
1174-
u8 *pData,
1175-
struct pgpkt_struct *pTargetPkt
1176-
)
1177-
{
1178-
memset(pTargetPkt->data, 0xFF, PGPKT_DATA_SIZE);
1179-
pTargetPkt->offset = offset;
1180-
pTargetPkt->word_en = word_en;
1181-
efuse_WordEnableDataRead(word_en, pData, pTargetPkt->data);
1182-
pTargetPkt->word_cnts = Efuse_CalculateWordCnts(pTargetPkt->word_en);
1183-
}
1184-
11851171
static u8 hal_EfusePgPacketWrite1ByteHeader(
11861172
struct adapter *padapter,
11871173
u8 efuseType,

0 commit comments

Comments
 (0)