[PATCH] mt76: Fixed kernel test robot warning

Souptick Joarder jrdr.linux at gmail.com
Fri Dec 11 01:51:38 EST 2020


On Thu, Dec 10, 2020 at 12:46 PM Kalle Valo <kvalo at codeaurora.org> wrote:
>
> 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?

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-arm-kernel mailing list