summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorGuobin Huang <huangguobin4@huawei.com>2021-03-27 10:59:20 +0100
committerJohannes Berg <johannes.berg@intel.com>2021-04-08 10:17:13 +0200
commit30a70d18e862d505a34f2b21ccb83f5d4792e2d5 (patch)
treede997e0d546cd99d30ac051ac59ae125c2e1d88e /net/wireless/reg.c
parentrfkill: use DEFINE_SPINLOCK() for spinlock (diff)
downloadlinux-30a70d18e862d505a34f2b21ccb83f5d4792e2d5.tar.xz
linux-30a70d18e862d505a34f2b21ccb83f5d4792e2d5.zip
mac80211_hwsim: use DEFINE_SPINLOCK() for spinlock
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Guobin Huang <huangguobin4@huawei.com> Link: https://lore.kernel.org/r/1616839160-6654-1-git-send-email-huangguobin4@huawei.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
0 files changed, 0 insertions, 0 deletions