From: Tomas Winkler Date: Tue, 1 Jul 2008 11:29:20 +0000 (+0300) Subject: mac80211: remove useless tid assignment for management and control frames X-Git-Tag: v2.6.27-rc1~969^2~186^2~34 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d96a7bc0499d0332cecb0a1d7d7d0d44f9c8cc28;p=linux-2.6-omap-h63xx.git mac80211: remove useless tid assignment for management and control frames This patch removes useless tid assignment for management and control frames Signed-off-by: Tomas Winkler Acked-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index ffe1af82fa4..a1a53a4f2b9 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -210,7 +210,6 @@ static int wme_qdiscop_enqueue(struct sk_buff *skb, struct Qdisc* qd) kfree_skb(skb); err = NET_XMIT_DROP; } else { - tid = skb->priority & QOS_CONTROL_TAG1D_MASK; skb_set_queue_mapping(skb, queue); qdisc = q->queues[queue]; err = qdisc->enqueue(skb, qdisc);