aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c
index d7330451685c..a082466f4a83 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c
@@ -672,16 +672,6 @@ static int ipoib_start_xmit(struct sk_buff *skb, struct net_device *dev)
672 if (unlikely(!spin_trylock_irqsave(&priv->tx_lock, flags))) 672 if (unlikely(!spin_trylock_irqsave(&priv->tx_lock, flags)))
673 return NETDEV_TX_LOCKED; 673 return NETDEV_TX_LOCKED;
674 674
675 /*
676 * Check if our queue is stopped. Since we have the LLTX bit
677 * set, we can't rely on netif_stop_queue() preventing our
678 * xmit function from being called with a full queue.
679 */
680 if (unlikely(netif_queue_stopped(dev))) {
681 spin_unlock_irqrestore(&priv->tx_lock, flags);
682 return NETDEV_TX_BUSY;
683 }
684
685 if (likely(skb->dst && skb->dst->neighbour)) { 675 if (likely(skb->dst && skb->dst->neighbour)) {
686 if (unlikely(!*to_ipoib_neigh(skb->dst->neighbour))) { 676 if (unlikely(!*to_ipoib_neigh(skb->dst->neighbour))) {
687 ipoib_path_lookup(skb, dev); 677 ipoib_path_lookup(skb, dev);