mt76: remove variable 'val' set but not used
authorChen Wandun <chenwandun@huawei.com>
Wed, 4 Mar 2020 12:34:11 +0000 (20:34 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 17 Mar 2020 16:13:59 +0000 (17:13 +0100)
commit373954ef27a586ee04a2024e13ac08f1b1782904
tree17f6ecbfddc3e92f4bf1b3e66017cf7767349a8f
parent5ddffa1b62843ffacc1c5cda1cfb72a225ae400a
mt76: remove variable 'val' set but not used

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/mediatek/mt76/mt76x0/phy.c: In function mt76x0_phy_rf_init:
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c:1158:5: warning: variable val set but not used [-Wunused-but-set-variable]

Fixes: 10de7a8b4ab9 ("mt76x0: phy files")
Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c