net: nps_enet: code reuse
Add inline function that checks if there is a pending tx packet. Signed-off-by: NElad Kanfi <eladkan@mellanox.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录
Add inline function that checks if there is a pending tx packet. Signed-off-by: NElad Kanfi <eladkan@mellanox.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>