[PATCH] staging: rtl8723bs: Drop unused parameter from rtw_sdio_if1_init()

From: Uwe Kleine-König

Date: Wed Jun 10 2026 - 12:49:24 EST


The function doesn't use the pdid parameter, so drop that and adapt the
only caller accordingly.

Signed-off-by: Uwe Kleine-König <ukleinek@xxxxxxxxxx>
---
Hello,

I noticed this patch opportunity while working on a change to struct
sdio_device_id. Only compile tested, but should be safe.

Best regards
Uwe

drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
index c43a0391a5ca..06f00d35ced1 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -215,7 +215,7 @@ static void sd_intf_stop(struct adapter *padapter)
}


-static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const struct sdio_device_id *pdid)
+static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj)
{
int status = _FAIL;
struct net_device *pnetdev;
@@ -346,7 +346,7 @@ static int rtw_drv_init(
if (!dvobj)
goto exit;

- if1 = rtw_sdio_if1_init(dvobj, id);
+ if1 = rtw_sdio_if1_init(dvobj);
if (!if1)
goto free_dvobj;


base-commit: abe651837cb394f76d738a7a747322fca3bf17ba
--
2.47.3