net: ethernet: mediatek: remove useless code in mtk_poll_tx()
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 18 Jul 2017 20:48:06 +0000 (15:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jul 2017 23:33:57 +0000 (16:33 -0700)
commitf03b06f3bae893d0f4fbe7c41adc1d45016bb974
tree7edc9f3656e50730455c3cbbd50df57753f48021
parent048578a1954f6c473ba12c9b4519e8dce4a4549b
net: ethernet: mediatek: remove useless code in mtk_poll_tx()

Remove useless local variable _condition_ and the code related.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c