mac80211: remove unused variable
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Jan 2019 10:47:47 +0000 (11:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Jan 2019 10:47:47 +0000 (11:47 +0100)
Clearly, I missed this when trying out the previously
merged patches. Remove the spurious variable now.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c

index 037f95e39a450d617afc68073fc2af3d1d93bb16..61c7ea9de2cc5e0d2f609f9b2614bde5e5b7dbdd 100644 (file)
@@ -3708,7 +3708,6 @@ void ieee80211_schedule_txq(struct ieee80211_hw *hw,
        __acquires(txq_lock) __releases(txq_lock)
 {
        struct ieee80211_local *local = hw_to_local(hw);
-       struct txq_info *txqi = to_txq_info(txq);
 
        spin_lock_bh(&local->active_txq_lock[txq->ac]);
        ieee80211_return_txq(hw, txq);