mac80211: remove useless open_count check
authorJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 13:39:29 +0000 (15:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 13:39:29 +0000 (15:39 +0200)
commit4854f175c3182816d906c4bc34be5f30556346a5
tree5d659c432897e1a4303575f8e5f631939c784ee7
parent11d62caf93cf12ce80ff8304849887666ec8880a
mac80211: remove useless open_count check

__ieee80211_suspend() checks early on if there's anything
to do by checking open_count, so there's no need to check
again later in the function. Remove the useless check.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/pm.c