mac80211: make tx() operation return void
[deliverable/linux.git] / drivers / net / wireless / ath / ath5k / mac80211-ops.c
index a60a726a140ca1177facc4514ed09c7e3d22910e..1fbe3c0b9f0864f50f87803e84af2630fe8072fc 100644 (file)
@@ -52,7 +52,7 @@ extern int ath5k_modparam_nohwcrypt;
 * Mac80211 functions *
 \********************/
 
-static int
+static void
 ath5k_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
 {
        struct ath5k_softc *sc = hw->priv;
@@ -60,10 +60,10 @@ ath5k_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
 
        if (WARN_ON(qnum >= sc->ah->ah_capabilities.cap_queues.q_tx_num)) {
                dev_kfree_skb_any(skb);
-               return 0;
+               return;
        }
 
-       return ath5k_tx_queue(hw, skb, &sc->txqs[qnum]);
+       ath5k_tx_queue(hw, skb, &sc->txqs[qnum]);
 }
 
 
This page took 0.026275 seconds and 5 git commands to generate.