Skip to content

Commit

Permalink
bcmgenet: Deleted unnecessary select_queue method.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Feb 25, 2014
1 parent 5343a10 commit 225a9a2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/net/ethernet/broadcom/genet/bcmgenet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 225a9a2

Please sign in to comment.