]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: manipulate netdev_queue directly
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 20 Mar 2014 17:53:23 +0000 (10:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2014 21:36:12 +0000 (17:36 -0400)
commit371d1631f1f74ad0af7eefcdd2f5a076fb4aedc9
tree56c547038a9a6eaec0068e9e2798b07f56dc3603
parent82ef188ef98b80011e5d4b00c9f85cf7dc8c660e
net: bcmgenet: manipulate netdev_queue directly

Instead of always invoking netdev_get_tx_queue() in bcmgenet_xmit() and
bcmgenet_tx_reclaim(), just get the corresponding netdev_queue pointer
once and for all and manipulate it throughout bcmgenet_xmit() and
bcmgenet_tx_reclaim().

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c