[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200125170930.GA4809@google.com>
Date: Sat, 25 Jan 2020 22:39:30 +0530
From: Saurav Girepunje <saurav.girepunje@...il.com>
To: forest@...ttletooquiet.net, gregkh@...uxfoundation.org,
quentin.deslandes@...ev.co.uk, colin.king@...onical.com,
saurav.girepunje@...il.com, tvboxspy@...il.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Cc: saurav.girepunje@...mail.com
Subject: [PATCH] staging: vt6656: fix Unneeded variable: "ret"
Remove unneeded variable "ret". Issues reported by coccicheck.
Signed-off-by: Saurav Girepunje <saurav.girepunje@...il.com>
---
drivers/staging/vt6656/card.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 7958fc1..654cebc 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -719,7 +719,6 @@ int vnt_radio_power_off(struct vnt_private *priv)
*/
int vnt_radio_power_on(struct vnt_private *priv)
{
- int ret = 0;
vnt_exit_deep_sleep(priv);
@@ -739,7 +738,7 @@ int vnt_radio_power_on(struct vnt_private *priv)
vnt_mac_reg_bits_off(priv, MAC_REG_GPIOCTL1, GPIO3_INTMD);
- return ret;
+ return 0;
}
void vnt_set_bss_mode(struct vnt_private *priv)
--
1.9.1
Powered by blists - more mailing lists