[PATCH -next] staging: wfx: remove set but not used variable 'tx_priv'

Jérôme Pouiller Jerome.Pouiller at silabs.com
Tue Feb 11 15:24:07 UTC 2020


On Tuesday 11 February 2020 16:21:41 CET Jérôme Pouiller wrote:
> On Tuesday 11 February 2020 15:03:34 CET YueHaibing wrote:
> > drivers/staging/wfx/queue.c: In function wfx_tx_queues_get:
> > drivers/staging/wfx/queue.c:484:28: warning: variable tx_priv set but not used [-Wunused-but-set-variable]
> >
> > commit 2e57865e79cf ("staging: wfx: pspoll_mask make no sense")
> > left behind this unused variable.
> >
> > Reported-by: Hulk Robot <hulkci at huawei.com>
> > Signed-off-by: YueHaibing <yuehaibing at huawei.com>

Maybe it could make sens to add a Fixes tag with the commit id that
introduce the warning?


-- 
Jérôme Pouiller



More information about the devel mailing list