Skip to content
Commit 3e19073a authored by Wang Hai's avatar Wang Hai Committed by Felix Fietkau
Browse files

mt76: mt7615: Remove set but unused variable 'index'

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

drivers/net/wireless/mediatek/mt76/mt7615/testmode.c: In function mt7615_tm_set_tx_power
drivers/net/wireless/mediatek/mt76/mt7615/testmode.c:83:7: warning: variable ‘index’ set but not used [-Wunused-but-set-variable]=

commit 4f0bce1c

 ("mt76: mt7615: implement testmode support")
involved this unused variable, remove it.

Signed-off-by: default avatarWang Hai <wanghai38@huawei.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 2bffdded
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment