mac80211: remove duplicate check for quiescing when queueing work
authorLuciano Coelho <luciano.coelho@intel.com>
Sun, 1 Mar 2015 07:10:10 +0000 (09:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 4 Mar 2015 09:34:10 +0000 (10:34 +0100)
commit0b4e11074a933937ee75be371d32bf91a0051419
tree271de8ba69d48dac0d51229bf5c0b0bfbd3c3b4c
parentae2e9fba85f69e0b53b1ef15e3011ce09ac1b9f2
mac80211: remove duplicate check for quiescing when queueing work

In ieee80211_queue_work() we check if we're quiescing or suspended, so
it's not necessary to check for quiescing before calling this
function.  Remove duplicate checks.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c