diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-03-18 17:11:22 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-03-18 17:11:22 -0400 |
commit | 5407b14c6792d6ff122ecb1a2a6acffad60ef389 (patch) | |
tree | f405e986ed2b718f3a3bae81cd50bbe5b18f5b53 /drivers/net/ethernet/ti | |
parent | 1571df8f2d470a2b0cb3d48ffdffbc83c5924ef5 (diff) | |
download | linux-stable-5407b14c6792d6ff122ecb1a2a6acffad60ef389.tar.gz linux-stable-5407b14c6792d6ff122ecb1a2a6acffad60ef389.tar.bz2 linux-stable-5407b14c6792d6ff122ecb1a2a6acffad60ef389.zip |
gianfar: use netif_tx_queue_stopped instead of __netif_subqueue_stopped
The __netif_subqueue_stopped() just does the following:
struct netdev_queue *txq = netdev_get_tx_queue(dev, queue_index);
return netif_tx_queue_stopped(txq);
and since we already have the txq in scope, we can just call that
directly in this case.
Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions