net: mediatek: remove set but not used variable 'status'
authorMao Wenan <maowenan@huawei.com>
Mon, 26 Aug 2019 01:31:18 +0000 (09:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Aug 2019 02:05:23 +0000 (19:05 -0700)
commitee641b0cdb9486f8212a3da153a46ab3551a97e5
tree0435fe2edaba9723594e946927b77a46c36bf04b
parentc1236979b4d2cbaef8bb34aec83a44de445e4210
net: mediatek: remove set but not used variable 'status'

Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function mtk_handle_irq:
drivers/net/ethernet/mediatek/mtk_eth_soc.c:1951:6: warning: variable status set but not used [-Wunused-but-set-variable]

Fixes: 296c9120752b ("net: ethernet: mediatek: Add MT7628/88 SoC support")
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c