]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: _InitOtherVariable is empty
authorMichael Straube <straube.linux@gmail.com>
Tue, 22 Jul 2025 07:41:12 +0000 (09:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2025 09:31:19 +0000 (11:31 +0200)
The function _InitOtherVariable is empty, remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20250722074115.35044-5-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/sdio_halinit.c

index 35f48b5641992df11db9f82362fa37b8223a5e18..73561a63401edc22642c2ccb09a8acf6631dace2 100644 (file)
@@ -1094,10 +1094,6 @@ static void _ReadPROMContent(struct adapter *padapter)
        _ReadEfuseInfo8723BS(padapter);
 }
 
-static void _InitOtherVariable(struct adapter *Adapter)
-{
-}
-
 /*  */
 /*     Description: */
 /*             Read HW adapter information by E-Fuse or EEPROM according CR9346 reported. */
@@ -1122,7 +1118,6 @@ static s32 _ReadAdapterInfo8723BS(struct adapter *padapter)
        _EfuseCellSel(padapter);
        _ReadRFType(padapter);
        _ReadPROMContent(padapter);
-       _InitOtherVariable(padapter);
 
        if (!padapter->hw_init_completed) {
                rtw_write8(padapter, 0x67, 0x00); /*  for BT, Switch Ant control to BT */