From: Johannes Berg Date: Mon, 28 Jan 2019 10:47:47 +0000 (+0100) Subject: mac80211: remove unused variable X-Git-Tag: v5.1-rc1~178^2~387^2~6 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2ec56f9180091a7ff5e178bdca7672c912d74326;p=uclinux-h8%2Flinux.git mac80211: remove unused variable Clearly, I missed this when trying out the previously merged patches. Remove the spurious variable now. Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 037f95e39a45..61c7ea9de2cc 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -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);