staging: rtl8723bs: Remove unused function hal_EfuseConstructPGPkt
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Wed, 6 Nov 2024 18:33:40 +0000 (19:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2024 08:30:19 +0000 (09:30 +0100)
Remove unused function hal_EfuseConstructPGPkt to shorten code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/8625bceb13e5a319a1d0752bde79888fc8622ca0.1730916582.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c

index ceb234cdbd749c0df744a1bcdf11914e311b5474..acd9c8128f942420d50ee291657dfb5e5de109bd 100644 (file)
@@ -1168,20 +1168,6 @@ static u8 hal_EfusePgCheckAvailableAddr(
        return true;
 }
 
-static void hal_EfuseConstructPGPkt(
-       u8 offset,
-       u8 word_en,
-       u8 *pData,
-       struct pgpkt_struct *pTargetPkt
-)
-{
-       memset(pTargetPkt->data, 0xFF, PGPKT_DATA_SIZE);
-       pTargetPkt->offset = offset;
-       pTargetPkt->word_en = word_en;
-       efuse_WordEnableDataRead(word_en, pData, pTargetPkt->data);
-       pTargetPkt->word_cnts = Efuse_CalculateWordCnts(pTargetPkt->word_en);
-}
-
 static u8 hal_EfusePgPacketWrite1ByteHeader(
        struct adapter *padapter,
        u8 efuseType,