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)
commitb2cde2cc71f2382e4a4bfaaacd5263bd93f1e0d2
tree56c547038a9a6eaec0068e9e2798b07f56dc3603
parentd5c76f628d399f06785b0ee910c431770a01b807
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