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>
Wed, 28 Aug 2019 03:47:56 +0000 (20:47 -0700)
commit7add83d93a94aaac79645414fd57d3c4b707d3be
tree4aa5a13a09156a0bb3508266514e61118c8a6813
parent380702e371559ad943b8616b1bf7196b59820e80
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>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c