From: Phillip Potter Date: Tue, 10 Aug 2021 23:50:45 +0000 (+0100) Subject: staging: r8188eu: remove unused variable from rtw_init_drv_sw X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8268010e8f0e23ae31331bc250d420677df7a9e7;p=linux.git staging: r8188eu: remove unused variable from rtw_init_drv_sw Remove unused variable from rtw_init_drv_sw function in os_dep/os_intfs.c Acked-by: Michael Straube Signed-off-by: Phillip Potter Link: https://lore.kernel.org/r/20210810235047.177883-7-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c index 38d3283dbac3c..1eb53cf8bccbf 100644 --- a/drivers/staging/r8188eu/os_dep/os_intfs.c +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c @@ -852,7 +852,6 @@ u8 rtw_reset_drv_sw(struct adapter *padapter) u8 rtw_init_drv_sw(struct adapter *padapter) { u8 ret8 = _SUCCESS; - unsigned long flags; if ((rtw_init_cmd_priv(&padapter->cmdpriv)) == _FAIL) { ret8 = _FAIL;