bcmgenet: Deleted unnecessary select_queue method.
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 00:33:27 +0000 (19:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 00:33:27 +0000 (19:33 -0500)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c

index 844e0811388d2bea46a291f9428a933353a90b92..192069d2745e29c410b70c0c6e710a912529b91c 100644 (file)
@@ -2280,17 +2280,10 @@ static int bcmgenet_set_mac_addr(struct net_device *dev, void *p)
        return 0;
 }
 
-static u16 bcmgenet_select_queue(struct net_device *dev,
-               struct sk_buff *skb, void *accel_priv)
-{
-       return netif_is_multiqueue(dev) ? skb->queue_mapping : 0;
-}
-
 static const struct net_device_ops bcmgenet_netdev_ops = {
        .ndo_open               = bcmgenet_open,
        .ndo_stop               = bcmgenet_close,
        .ndo_start_xmit         = bcmgenet_xmit,
-       .ndo_select_queue       = bcmgenet_select_queue,
        .ndo_tx_timeout         = bcmgenet_timeout,
        .ndo_set_rx_mode        = bcmgenet_set_rx_mode,
        .ndo_set_mac_address    = bcmgenet_set_mac_addr,