staging: rtl8723bs: hal: Remove unused variable
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>
Tue, 21 May 2019 06:40:35 +0000 (12:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2019 08:29:40 +0000 (10:29 +0200)
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>
drivers/staging/rtl8723bs/hal/sdio_ops.c

index a601620..ac79de8 100644 (file)
@@ -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;