]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: remove empty InitSysInterrupt8723BSdio()
authorNikolay Kulikov <nikolayof23@gmail.com>
Tue, 12 May 2026 12:55:32 +0000 (15:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 May 2026 09:21:14 +0000 (11:21 +0200)
This function does not do any useful work to initialize interrupt, so
remove it co clean up dead code.

Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com>
Link: https://patch.msgid.link/20260512125703.6878-3-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/sdio_halinit.c
drivers/staging/rtl8723bs/hal/sdio_ops.c
drivers/staging/rtl8723bs/include/sdio_ops.h

index 1e0498268aeeb67dc05053769c50fda5e9d0f825..eecfc593e2dd2e8b8d4140cacf8ba65ca52f7540 100644 (file)
@@ -532,11 +532,6 @@ static void _InitInterrupt(struct adapter *padapter)
        /*  Initialize and enable SDIO Host Interrupt. */
        /*  */
        InitInterrupt8723BSdio(padapter);
-
-       /*  */
-       /*  Initialize system Host Interrupt. */
-       /*  */
-       InitSysInterrupt8723BSdio(padapter);
 }
 
 static void _InitRFType(struct adapter *padapter)
index 0c0c243c46eb96daa1902cb5de00ea6b3f107d02..f7f6e273c8680bd35ca9f4e9b554be10e3d5fa54 100644 (file)
@@ -581,19 +581,6 @@ void InitInterrupt8723BSdio(struct adapter *adapter)
                                   0);
 }
 
-/*  */
-/*     Description: */
-/*             Initialize System Host Interrupt Mask configuration variables for future use. */
-/*  */
-/*     Created by Roger, 2011.08.03. */
-/*  */
-void InitSysInterrupt8723BSdio(struct adapter *adapter)
-{
-       struct hal_com_data *haldata;
-
-       haldata = GET_HAL_DATA(adapter);
-}
-
 /*
  * Enable SDIO Host Interrupt Mask configuration on SDIO local domain.
  *
index 13f13076bc16323f08126948742a7782d8499cde..252b0e1646e51af3af73ff3c679588bedcf9955e 100644 (file)
@@ -26,7 +26,6 @@ extern void sd_int_hdl(struct adapter *padapter);
 extern u8 CheckIPSStatus(struct adapter *padapter);
 
 extern void InitInterrupt8723BSdio(struct adapter *padapter);
-extern void InitSysInterrupt8723BSdio(struct adapter *padapter);
 void rtw_sdio_enable_interrupt(struct adapter *padapter);
 void rtw_sdio_disable_interrupt(struct adapter *padapter);
 extern u8 HalQueryTxBufferStatus8723BSdio(struct adapter *padapter);