Commit 225a9a25 authored by David S. Miller's avatar David S. Miller

bcmgenet: Deleted unnecessary select_queue method.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5343a10d
...@@ -2280,17 +2280,10 @@ static int bcmgenet_set_mac_addr(struct net_device *dev, void *p) ...@@ -2280,17 +2280,10 @@ static int bcmgenet_set_mac_addr(struct net_device *dev, void *p)
return 0; 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 = { static const struct net_device_ops bcmgenet_netdev_ops = {
.ndo_open = bcmgenet_open, .ndo_open = bcmgenet_open,
.ndo_stop = bcmgenet_close, .ndo_stop = bcmgenet_close,
.ndo_start_xmit = bcmgenet_xmit, .ndo_start_xmit = bcmgenet_xmit,
.ndo_select_queue = bcmgenet_select_queue,
.ndo_tx_timeout = bcmgenet_timeout, .ndo_tx_timeout = bcmgenet_timeout,
.ndo_set_rx_mode = bcmgenet_set_rx_mode, .ndo_set_rx_mode = bcmgenet_set_rx_mode,
.ndo_set_mac_address = bcmgenet_set_mac_addr, .ndo_set_mac_address = bcmgenet_set_mac_addr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment