diff options
author | Qiheng Lin <linqiheng@huawei.com> | 2021-03-25 15:38:54 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-04-08 10:17:32 +0200 |
commit | 81d94f47beaa561840776087d22a809b17c11033 (patch) | |
tree | 19b0147f8c4af4e007bca429197cdf9ba78cf603 /.cocciconfig | |
parent | mac80211_hwsim: use DEFINE_SPINLOCK() for spinlock (diff) | |
download | linux-81d94f47beaa561840776087d22a809b17c11033.tar.xz linux-81d94f47beaa561840776087d22a809b17c11033.zip |
cfg80211: regulatory: 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: Qiheng Lin <linqiheng@huawei.com>
Link: https://lore.kernel.org/r/20210325143854.13186-1-linqiheng@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions