mac80211: make tx() operation return void
[deliverable/linux.git] / drivers / net / wireless / ath / ath5k / base.c
index 80d9cf0c4cd28747836ba91f150cdba3d5256848..91411e9b4b6815c12cfcfa306be1aaf97e53164c 100644 (file)
@@ -1518,7 +1518,7 @@ unlock:
 * TX Handling *
 \*************/
 
-int
+void
 ath5k_tx_queue(struct ieee80211_hw *hw, struct sk_buff *skb,
               struct ath5k_txq *txq)
 {
@@ -1567,11 +1567,10 @@ ath5k_tx_queue(struct ieee80211_hw *hw, struct sk_buff *skb,
                spin_unlock_irqrestore(&sc->txbuflock, flags);
                goto drop_packet;
        }
-       return NETDEV_TX_OK;
+       return;
 
 drop_packet:
        dev_kfree_skb_any(skb);
-       return NETDEV_TX_OK;
 }
 
 static void
This page took 0.072625 seconds and 5 git commands to generate.