summaryrefslogtreecommitdiff
path: root/net/sunrpc/rpcb_clnt.c
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2015-03-01 07:10:07 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2015-03-04 09:34:09 (GMT)
commit8bb6f4b9c50eef838931e0e667f1a451f34a76ae (patch)
tree03b40b947badb6df074f7b4409f23deb77c53a08 /net/sunrpc/rpcb_clnt.c
parentef7c67257c9a0765bd1a53f83fd63d55a0f7b224 (diff)
downloadlinux-8bb6f4b9c50eef838931e0e667f1a451f34a76ae.tar.xz
mac80211: remove useless double check for open_count in __ieee80211_suspend()
We check local->open_count at the top of the __ieee80211_suspend(), so there's no need to check for it again. open_count is protected by the rtnl, so there's no chance for it to have change between the two calls. 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>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
0 files changed, 0 insertions, 0 deletions