]> 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)
commit0e1e25294984528aba1c4fa00cce00f850498e64
tree5d659c432897e1a4303575f8e5f631939c784ee7
parentcad35d351de20272a1271fe30428aa00b8ac7299
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