On 2018/10/9 2:02, David Miller wrote: > 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". Ok, will fix it in v2. > > . >