]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Do not compare with boolean in nl80211_common_reg_change_event
authorzhong jiang <zhongjiang@huawei.com>
Thu, 5 Sep 2019 04:25:37 +0000 (12:25 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Sep 2019 07:33:29 +0000 (09:33 +0200)
commit77d7c3524a3788fac2f7af1241b37bb9776bfb2e
treeac9c8f856b91b78b0bb816b218cfbf6431e49850
parent93e13c83527d4b613da665007af8248088508329
cfg80211: Do not compare with boolean in nl80211_common_reg_change_event

With the help of boolinit.cocci, we use !nl80211_reg_change_event_fill
instead of (nl80211_reg_change_event_fill == false). Meanwhile, Clean
up the code.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Link: https://lore.kernel.org/r/1567657537-65472-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c