[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YTukfSY0CxowGXlQ@user>
Date: Sat, 11 Sep 2021 00:01:25 +0530
From: Saurav Girepunje <saurav.girepunje@...il.com>
To: Larry.Finger@...inger.net, phil@...lpotter.co.uk,
gregkh@...uxfoundation.org, straube.linux@...il.com,
fmdefrancesco@...il.com, paskripkin@...il.com,
saurav.girepunje@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: saurav.girepunje@...mail.com
Subject: [PATCH] staging: r8188eu: core: remove unused variable padapter
Remove unused variable padapter from mp_init_xmit_attrib().
Signed-off-by: Saurav Girepunje <saurav.girepunje@...il.com>
---
drivers/staging/r8188eu/core/rtw_mp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/r8188eu/core/rtw_mp.c b/drivers/staging/r8188eu/core/rtw_mp.c
index dabdd0406f30..8ac23d2112fb 100644
--- a/drivers/staging/r8188eu/core/rtw_mp.c
+++ b/drivers/staging/r8188eu/core/rtw_mp.c
@@ -75,7 +75,7 @@ static void _init_mp_priv_(struct mp_priv *pmp_priv)
memcpy(pnetwork->Ssid.Ssid, "mp_871x", pnetwork->Ssid.SsidLength);
}
-static void mp_init_xmit_attrib(struct mp_tx *pmptx, struct adapter *padapter)
+static void mp_init_xmit_attrib(struct mp_tx *pmptx)
{
struct pkt_attrib *pattrib;
struct tx_desc *desc;
@@ -107,7 +107,7 @@ s32 init_mp_priv(struct adapter *padapter)
pmppriv->papdater = padapter;
pmppriv->tx.stop = 1;
- mp_init_xmit_attrib(&pmppriv->tx, padapter);
+ mp_init_xmit_attrib(&pmppriv->tx);
switch (padapter->registrypriv.rf_config) {
case RF_1T1R:
--
2.32.0
Powered by blists - more mailing lists