From: Nishka Dasgupta Date: Tue, 21 May 2019 06:40:35 +0000 (+0530) Subject: staging: rtl8723bs: hal: Remove unused variable X-Git-Tag: v5.3-rc1~126^2~432 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae63ed4c7d0857cb0ed3c69f7e597745706c0f59;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c b/drivers/staging/rtl8723bs/hal/sdio_ops.c index a60162046e5a1..ac79de86a03c0 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;