The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Manuel Ebner <manuelebner@mailbox.org>
To: manuelebner@mailbox.org
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	linux-staging@lists.linux.dev, omer.e.idrissi@gmail.com
Subject: [PATCH v2 1/3] staging: sdio_intf.c: refactor function
Date: Fri, 22 May 2026 13:55:15 +0200	[thread overview]
Message-ID: <20260522115513.190308-3-manuelebner@mailbox.org> (raw)
In-Reply-To: <20260522114317.189368-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 1d0239eef114..4439ded602b6 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -237,7 +237,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;
@@ -368,7 +368,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-05-22 11:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-22 11:43 [PATCH v2 0/3] staging: cleanup of sdio_intf.c Manuel Ebner
2026-05-22 11:55 ` Manuel Ebner [this message]
2026-05-22 11:57 ` [PATCH v2 2/3] staging: cleanup whitespace " Manuel Ebner
2026-05-23  4:17   ` Greg KH
2026-05-22 11:58 ` [PATCH v2 3/3] staging: cleanup braces " Manuel Ebner
2026-05-22 13:02 ` [PATCH v2 0/3] staging: cleanup " Dan Carpenter
2026-05-22 15:33   ` Manuel Ebner
2026-05-22 16:53     ` Dan Carpenter

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=20260522115513.190308-3-manuelebner@mailbox.org \
    --to=manuelebner@mailbox.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=omer.e.idrissi@gmail.com \
    /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