Re: [PATCH] mt76: Fixed kernel test robot warning

From: Souptick Joarder
Date: Fri Dec 11 2020 - 01:53:45 EST


On Thu, Dec 10, 2020 at 12:46 PM Kalle Valo <kvalo@xxxxxxxxxxxxxx> wrote:
>
> Souptick Joarder <jrdr.linux@xxxxxxxxx> 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@xxxxxxxxx>
> > Signed-off-by: Souptick Joarder <jrdr.linux@xxxxxxxxx>
>
> 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