[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210411183634.18385-1-fmdefrancesco@gmail.com>
Date: Sun, 11 Apr 2021 20:36:34 +0200
From: "Fabio M. De Francesco" <fmdefrancesco@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>,
outreachy-kernel@...glegroups.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: "Fabio M. De Francesco" <fmdefrancesco@...il.com>
Subject: [Outreachy kernel] [PATCH v2] staging: rtl8192u: Remove variable set but not used
Remove variable "int ret", declared but not used.
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@...il.com>
---
Changes from v1: Change the text of the subject and log.
drivers/staging/rtl8192u/r8192U_core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index f48186a89fa1..30055de66239 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
@@ -902,7 +902,6 @@ static void rtl8192_hard_data_xmit(struct sk_buff *skb, struct net_device *dev,
int rate)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
- int ret;
unsigned long flags;
struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
u8 queue_index = tcb_desc->queue_index;
--
2.31.1
Powered by blists - more mailing lists