From: Saurav Girepunje <saurav.girepunje@gmail.com>
To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net,
saurav.girepunje@gmail.com, insafonov@gmail.com,
straube.linux@gmail.com, martin@kaiser.cx, will+git@drnd.me,
dan.carpenter@oracle.com, apais@linux.microsoft.com,
yashsri421@gmail.com, fabioaiuto83@gmail.com,
marcocesati@gmail.com, ross.schm.dev@gmail.com,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH 2/4] staging: rtl8188eu :os_dep :os_intfs : remove unused variable
Date: Sat, 7 Aug 2021 15:52:30 +0530 [thread overview]
Message-ID: <20210807102232.6674-3-saurav.girepunje@gmail.com> (raw)
In-Reply-To: <20210807102232.6674-1-saurav.girepunje@gmail.com>
Remove unused variable pnetdev from loadparam in os_intfs.c
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.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
next prev parent reply other threads:[~2021-08-07 10:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-07 10:22 [PATCH 0/4] Remove unused variable Saurav Girepunje
2021-08-07 10:22 ` [PATCH 1/4] staging: rtl8188eu: os_dep: " Saurav Girepunje
2021-08-07 14:50 ` Fabio Aiuto
2021-08-07 19:00 ` SAURAV GIREPUNJE
2021-08-07 10:22 ` Saurav Girepunje [this message]
2021-08-07 10:22 ` [PATCH 3/4] staging: rtl8192e: rtl8192e: rtl_core: remove unused global variable Saurav Girepunje
2021-08-07 10:22 ` [PATCH 4/4] staging: rtl8723bs: os_dep: remove unused variable Saurav Girepunje
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=20210807102232.6674-3-saurav.girepunje@gmail.com \
--to=saurav.girepunje@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=apais@linux.microsoft.com \
--cc=dan.carpenter@oracle.com \
--cc=fabioaiuto83@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=insafonov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=marcocesati@gmail.com \
--cc=martin@kaiser.cx \
--cc=ross.schm.dev@gmail.com \
--cc=straube.linux@gmail.com \
--cc=will+git@drnd.me \
--cc=yashsri421@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;
as well as URLs for NNTP newsgroup(s).