mac80211: directly return ieee80211_vif_use_reserved_context()
authorFabian Frederick <fabf@skynet.be>
Thu, 9 Oct 2014 18:36:22 +0000 (20:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 9 Oct 2014 18:54:04 +0000 (20:54 +0200)
commit408b18abf677841f49d64ceb884e2b196ca1cf05
tree60dfbe7dbc4abfdeee29cdea7cd2ae9fa2f1322b
parente9ed49bf4c2c2bd4d57667f14d595864d7596ded
mac80211: directly return ieee80211_vif_use_reserved_context()

No need to store ieee80211_vif_use_reserved_context()
result and test it before returning.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c