[PATCH] mt76: Fixed kernel test robot warning

Kalle Valo kvalo at codeaurora.org
Thu Dec 10 02:16:23 EST 2020


Souptick Joarder <jrdr.linux at gmail.com> writes:

> Kernel test robot throws below warning ->
>
>    drivers/net/wireless/mediatek/mt76/tx.c: In function
> 'mt76_txq_schedule':
>>> drivers/net/wireless/mediatek/mt76/tx.c:499:21: warning: variable 'q'
>>> set but not used [-Wunused-but-set-variable]
>      499 |  struct mt76_queue *q;
>          |                     ^
>
> This patch will silence this warning.
>
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Souptick Joarder <jrdr.linux at gmail.com>

I would like to take this directly to wireless-drivers-next, ok?

I'll also change the title to:

mt76: remove unused variable q

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the Linux-mediatek mailing list