aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2024-11-06 19:33:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-07 09:30:19 +0100
commit442e4a4acaaa8ec9033e8695722410e1a5a44dd5 (patch)
treecb9b492d17436e3fc030549848e73528e60d2032
parentstaging: rtl8723bs: Remove unused function hal_EfusePgPacketWriteData (diff)
downloadwireguard-linux-442e4a4acaaa8ec9033e8695722410e1a5a44dd5.tar.xz
wireguard-linux-442e4a4acaaa8ec9033e8695722410e1a5a44dd5.zip
staging: rtl8723bs: Remove unused function hal_EfusePgPacketWriteHeader
Remove unused function hal_EfusePgPacketWriteHeader to shorten code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/aade93afb9f2c6babbcc9c55bb35341cb8c9ff3f.1730916582.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
index ae909bd1366a..155987c417b4 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
@@ -1327,24 +1327,6 @@ static u8 hal_EfusePgPacketWrite2ByteHeader(
return true;
}
-static u8 hal_EfusePgPacketWriteHeader(
- struct adapter *padapter,
- u8 efuseType,
- u16 *pAddr,
- struct pgpkt_struct *pTargetPkt,
- u8 bPseudoTest
-)
-{
- u8 bRet = false;
-
- if (pTargetPkt->offset >= EFUSE_MAX_SECTION_BASE)
- bRet = hal_EfusePgPacketWrite2ByteHeader(padapter, efuseType, pAddr, pTargetPkt, bPseudoTest);
- else
- bRet = hal_EfusePgPacketWrite1ByteHeader(padapter, efuseType, pAddr, pTargetPkt, bPseudoTest);
-
- return bRet;
-}
-
static struct hal_version ReadChipVersion8723B(struct adapter *padapter)
{
u32 value32;