]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: Remove set but not used variable 'idx'
authorzhengbin <zhengbin13@huawei.com>
Tue, 29 Oct 2019 04:48:39 +0000 (12:48 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Nov 2019 12:23:51 +0000 (13:23 +0100)
commitcc53b52daa091ee875372d843255728c3ec941e4
tree827d5e0ee53f40e5010b539a3a681507bd8556a5
parent284efb473ef5f02a7f2c13fdf8d516ecc589bdf1
mt76: Remove set but not used variable 'idx'

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

drivers/net/wireless/mediatek/mt76/dma.c: In function mt76_dma_rx_fill:
drivers/net/wireless/mediatek/mt76/dma.c:377:6: warning: variable idx set but not used [-Wunused-but-set-variable]

It is not used since commit 17f1de56df05 ("mt76:
add common code shared between multiple chipsets")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/dma.c