]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit912cf8d9775ba677a9c5d47449508d8639a915a4
tree5d659c432897e1a4303575f8e5f631939c784ee7
parent01b7f45d2c6ed5a48366525a0f1b340bec83c44d
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