mac80211: cleanup select_queue
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Dec 2010 09:15:30 +0000 (10:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 20:44:22 +0000 (15:44 -0500)
commit172128468f61e16e1427238278b9ad775584aa89
tree2089bf1afd912c0b3ee0d486ed4be3a94517ca41
parentdb7ec38d8e99f449856c11ffaef363a8eb5af90f
mac80211: cleanup select_queue

There's a redundant rcu_read_lock/unlock pair, a
redundant variable, and a few redundant accesses
to the 1d_to_ac array. Fix this to make the code
neater and easier to follow.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wme.c