diff options
| author | Nikolay Kulikov <nikolayof23@gmail.com> | 2026-05-12 15:55:32 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-05-21 12:21:14 +0300 |
| commit | 591e09e74971bbbba5dd825fd8130e98af8e12bd (patch) | |
| tree | d0a191fd7b062cca5b965505ae4281e9d8a96546 | |
| parent | ab6148c24213771b86444f1e224c1f28946c6b73 (diff) | |
| download | linux-591e09e74971bbbba5dd825fd8130e98af8e12bd.tar.xz | |
staging: rtl8723bs: remove empty InitSysInterrupt8723BSdio()
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>
| -rw-r--r-- | drivers/staging/rtl8723bs/hal/sdio_halinit.c | 5 | ||||
| -rw-r--r-- | drivers/staging/rtl8723bs/hal/sdio_ops.c | 13 | ||||
| -rw-r--r-- | drivers/staging/rtl8723bs/include/sdio_ops.h | 1 |
3 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/rtl8723bs/hal/sdio_halinit.c index 1e0498268aee..eecfc593e2dd 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c +++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c @@ -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) diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c b/drivers/staging/rtl8723bs/hal/sdio_ops.c index 0c0c243c46eb..f7f6e273c868 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_ops.c +++ b/drivers/staging/rtl8723bs/hal/sdio_ops.c @@ -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. * diff --git a/drivers/staging/rtl8723bs/include/sdio_ops.h b/drivers/staging/rtl8723bs/include/sdio_ops.h index 13f13076bc16..252b0e1646e5 100644 --- a/drivers/staging/rtl8723bs/include/sdio_ops.h +++ b/drivers/staging/rtl8723bs/include/sdio_ops.h @@ -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); |
