net: convert remaining non-symbolic return values in ndo_start_xmit() functions
[deliverable/linux.git] / drivers / net / wireless / wl3501_cs.c
index e3e96bb2c246bed6905bf9a0d48835668a6fdab8..a83a5621ec44595f1db79c205e202b851a0f529d 100644 (file)
@@ -1348,7 +1348,6 @@ static int wl3501_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
        if (rc) {
                ++dev->stats.tx_dropped;
                netif_stop_queue(dev);
-               rc = NETDEV_TX_OK;
        } else {
                ++dev->stats.tx_packets;
                dev->stats.tx_bytes += skb->len;
@@ -1358,7 +1357,7 @@ static int wl3501_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
                        netif_stop_queue(dev);
        }
        spin_unlock_irqrestore(&this->lock, flags);
-       return rc;
+       return NETDEV_TX_OK;
 }
 
 static int wl3501_open(struct net_device *dev)
This page took 0.026484 seconds and 5 git commands to generate.