net: fec: remove useless status check in tx reap path
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 8 Jul 2014 12:02:04 +0000 (13:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2014 03:57:46 +0000 (20:57 -0700)
commit96018f52c532b69424d354a848ac7812136650f6
tree8a42529815222710c46e9690e4782f5fb8abfffb
parent344756f6e36b056ed361eedbd68244b108bdb1c6
net: fec: remove useless status check in tx reap path

Remove a useless status check in the transmit reap path - we have
already checked that the BD_ENET_TX_READY bit is clear, and as the
hardware only ever clears this bit, there is no way this test can ever
be true.

Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c