mac80211: remove an unnecessary assignment to info in __ieee80211_tx().
authorRami Rosen <ramirose@gmail.com>
Tue, 6 Jan 2009 08:50:33 +0000 (10:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:50 +0000 (15:59 -0500)
This patch removes an unnecessary assignment to info
in __ieee80211_tx() , tx.c.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c

index 0bf2272200ad0a6185fdffe713f69fdb1c3dad87..96eca341160b81555bd2c09dd4bfb38633325ecb 100644 (file)
@@ -1053,7 +1053,6 @@ static int __ieee80211_tx(struct ieee80211_local *local, struct sk_buff *skb,
        if (skb) {
                if (netif_subqueue_stopped(local->mdev, skb))
                        return IEEE80211_TX_AGAIN;
-               info =  IEEE80211_SKB_CB(skb);
 
                ret = local->ops->tx(local_to_hw(local), skb);
                if (ret)