Re: [PATCH net-next] mt76x0: pci: fix set external PA I/O current

From: David Miller
Date: Mon Oct 08 2018 - 14:02:33 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Mon, 8 Oct 2018 13:21:49 +0000

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/mediatek/mt76/mt76x0/pci.c: In function 'mt76x0e_register_device':
> drivers/net/wireless/mediatek/mt76/mt76x0/pci.c:107:8: warning:
> variable 'data' set but not used [-Wunused-but-set-variable]
>
> It seems correct value to write is 'data'
>
> Fixes: 2b2cb40bcd7d ("mt76x0: pci: add hw initialization at bootstrap")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Wireless changes should be marked as appropriate in the Subject line
for targetting the wireless GIT tree, not "net-next".