LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
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 1/4] staging: rtl8188eu: os_dep: Remove unused variable
Date: Sat,  7 Aug 2021 15:52:29 +0530	[thread overview]
Message-ID: <20210807102232.6674-2-saurav.girepunje@gmail.com> (raw)
In-Reply-To: <20210807102232.6674-1-saurav.girepunje@gmail.com>

Remove unused variable data and data_len from mon_recv_decrypted() in mon.c

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
---
 drivers/staging/rtl8188eu/os_dep/mon.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/mon.c b/drivers/staging/rtl8188eu/os_dep/mon.c
index 73b9599fe0dc..7c7cb29ee005 100644
--- a/drivers/staging/rtl8188eu/os_dep/mon.c
+++ b/drivers/staging/rtl8188eu/os_dep/mon.c
@@ -58,8 +58,7 @@ static void mon_recv_decrypted(struct net_device *dev, const u8 *data,
 	netif_rx(skb);
 }
 
-static void mon_recv_encrypted(struct net_device *dev, const u8 *data,
-			       int data_len)
+static void mon_recv_encrypted(struct net_device *dev)
 {
 	if (net_ratelimit())
 		netdev_info(dev, "Encrypted packets are not supported");
@@ -93,7 +92,7 @@ void rtl88eu_mon_recv_hook(struct net_device *dev, struct recv_frame *frame)
 	if (attr->bdecrypted)
 		mon_recv_decrypted(dev, data, data_len, iv_len, icv_len);
 	else
-		mon_recv_encrypted(dev, data, data_len);
+		mon_recv_encrypted(dev);
 }
 
 /**
-- 
2.30.2


  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] " Saurav Girepunje
2021-08-07 10:22 ` Saurav Girepunje [this message]
2021-08-07 14:50   ` [PATCH 1/4] staging: rtl8188eu: os_dep: " Fabio Aiuto
2021-08-07 19:00     ` SAURAV GIREPUNJE
2021-08-07 10:22 ` [PATCH 2/4] staging: rtl8188eu :os_dep :os_intfs : remove " Saurav Girepunje
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-2-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 \
    --subject='Re: [PATCH 1/4] staging: rtl8188eu: os_dep: Remove unused variable' \
    /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

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).