aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>2019-05-21 12:10:35 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-21 10:29:40 +0200
commitae63ed4c7d0857cb0ed3c69f7e597745706c0f59 (patch)
tree9f96bf87ce943c81bb46277f58f7cb98331c3cfc
parentstaging: vt6656: manage error path during device initialization (diff)
staging: rtl8723bs: hal: Remove unused variable
Remove local variable psdio which is declared but not used (or returned) in its function. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/hal/sdio_ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c b/drivers/staging/rtl8723bs/hal/sdio_ops.c
index a60162046e5a..ac79de86a03c 100644
--- a/drivers/staging/rtl8723bs/hal/sdio_ops.c
+++ b/drivers/staging/rtl8723bs/hal/sdio_ops.c
@@ -1207,7 +1207,6 @@ u8 RecvOnePkt(struct adapter *adapter, u32 size)
{
struct recv_buf *recvbuf;
struct dvobj_priv *sddev;
- struct sdio_data *psdio;
struct sdio_func *func;
u8 res = false;