mac80211: simplify ieee80211_work_work
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 3 Nov 2011 09:40:47 +0000 (10:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Nov 2011 21:01:01 +0000 (16:01 -0500)
commit4fdbff0770bea059621bc4906fb7c7f5879f3ae1
tree2987e261cbc2b0a0b6c528c8c96d2d9e9700e2fd
parent0b62ffb53c9732e02ec77ae795f1e03cb2f2d406
mac80211: simplify ieee80211_work_work

Since local->tmp_channel is always NULL in one branch, some code paths
will newer be taken in that branch, so remove them.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/work.c