From: David S. Miller Date: Tue, 25 Feb 2014 00:33:27 +0000 (-0500) Subject: bcmgenet: Deleted unnecessary select_queue method. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=225a9a256627a0b380183364688708a4b5b0a0e4;p=openwrt%2Fstaging%2Fblogic.git bcmgenet: Deleted unnecessary select_queue method. Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index 844e0811388d..192069d2745e 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -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,