Linux kernel staging patches
 help / color / mirror / Atom feed
From: Manuel Ebner <manuelebner@mailbox.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: manuelebner@mailbox.org, linux-kernel@vger.kernel.org,
	linux-staging@lists.linux.dev
Subject: [PATCH v4 1/3] staging: rtl8723bs: sdio_intf.c: refactor function
Date: Wed,  8 Jul 2026 10:54:05 +0200	[thread overview]
Message-ID: <20260708085405.306809-2-manuelebner@mailbox.org> (raw)
In-Reply-To: <20260708084808.305951-4-manuelebner@mailbox.org>

Remove unused argument of rtw_sdio_if1_init().

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
 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 d0feb28b7043..ff58923e43f1 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -217,7 +217,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;
@@ -348,7 +348,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;
 
-- 
2.54.0


  reply	other threads:[~2026-07-08  8:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-08  8:48 [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Manuel Ebner
2026-07-08  8:54 ` Manuel Ebner [this message]
2026-07-08  8:56 ` [PATCH v4 2/3] staging: rtl8723bs: sdio_intf.c: cleanup whitespace Manuel Ebner
2026-07-08  9:01 ` [PATCH v4 3/3] staging: rtl8723bs: sdio_intf.c: cleanup function Manuel Ebner
2026-07-08 12:01 ` [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260708085405.306809-2-manuelebner@mailbox.org \
    --to=manuelebner@mailbox.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox