[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210807102232.6674-3-saurav.girepunje@gmail.com>
Date: Sat, 7 Aug 2021 15:52:30 +0530
From: Saurav Girepunje <saurav.girepunje@...il.com>
To: gregkh@...uxfoundation.org, Larry.Finger@...inger.net,
saurav.girepunje@...il.com, insafonov@...il.com,
straube.linux@...il.com, martin@...ser.cx, will+git@...d.me,
dan.carpenter@...cle.com, apais@...ux.microsoft.com,
yashsri421@...il.com, fabioaiuto83@...il.com,
marcocesati@...il.com, ross.schm.dev@...il.com,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: [PATCH 2/4] staging: rtl8188eu :os_dep :os_intfs : remove unused variable
Remove unused variable pnetdev from loadparam in os_intfs.c
Signed-off-by: Saurav Girepunje <saurav.girepunje@...il.com>
---
drivers/staging/rtl8188eu/os_dep/os_intfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
index a826228cbbe9..81360cee7140 100644
--- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
@@ -136,7 +136,7 @@ MODULE_PARM_DESC(monitor_enable, "Enable monitor interface (default: false)");
static int netdev_close(struct net_device *pnetdev);
-static void loadparam(struct adapter *padapter, struct net_device *pnetdev)
+static void loadparam(struct adapter *padapter)
{
struct registry_priv *registry_par = &padapter->registrypriv;
@@ -315,7 +315,7 @@ struct net_device *rtw_init_netdev(void)
pnetdev->watchdog_timeo = HZ * 3; /* 3 second timeout */
pnetdev->wireless_handlers = (struct iw_handler_def *)&rtw_handlers_def;
- loadparam(padapter, pnetdev);
+ loadparam(padapter);
return pnetdev;
}
--
2.30.2
Powered by blists - more mailing lists