summaryrefslogtreecommitdiff
path: root/net/wireless/scan.c
diff options
context:
space:
mode:
authorGuobin Huang <huangguobin4@huawei.com>2021-03-27 17:59:20 +0800
committerJohannes Berg <johannes.berg@intel.com>2021-04-08 10:17:13 +0200
commit30a70d18e862d505a34f2b21ccb83f5d4792e2d5 (patch)
treede997e0d546cd99d30ac051ac59ae125c2e1d88e /net/wireless/scan.c
parented7247f30982bbc6f8bffd12a0c76398b90ec319 (diff)
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/scan.c')
0 files changed, 0 insertions, 0 deletions