diff options
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index ab7755abd205..8cec6f3c2f8b 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -2643,8 +2643,6 @@ static int myri10ge_xmit(struct sk_buff *skb, struct net_device *dev) | |||
2643 | u8 flags, odd_flag; | 2643 | u8 flags, odd_flag; |
2644 | 2644 | ||
2645 | queue = skb_get_queue_mapping(skb); | 2645 | queue = skb_get_queue_mapping(skb); |
2646 | queue &= (mgp->num_slices - 1); | ||
2647 | |||
2648 | ss = &mgp->ss[queue]; | 2646 | ss = &mgp->ss[queue]; |
2649 | netdev_queue = netdev_get_tx_queue(mgp->dev, queue); | 2647 | netdev_queue = netdev_get_tx_queue(mgp->dev, queue); |
2650 | tx = &ss->tx; | 2648 | tx = &ss->tx; |