net: nps_enet: code reuse
authorElad Kanfi <eladkan@mellanox.com>
Wed, 13 Jul 2016 13:58:07 +0000 (16:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2016 03:59:06 +0000 (20:59 -0700)
commit094f57aafa3c73329f0c887111d2e596b1aee8ba
tree4c595e74392b0bae03ef20ca06192ad0135bccb4
parentddbff3e8dde8b6a266eccd4312c6b16ae8aa1d2d
net: nps_enet: code reuse

Add inline function that checks if there is a pending tx packet.

Signed-off-by: Elad Kanfi <eladkan@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ezchip/nps_enet.c