Skip to content
Snippets Groups Projects
Commit 81d94f47 authored by Qiheng Lin's avatar Qiheng Lin Committed by Johannes Berg
Browse files

cfg80211: regulatory: use DEFINE_SPINLOCK() for spinlock


spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarQiheng Lin <linqiheng@huawei.com>
Link: https://lore.kernel.org/r/20210325143854.13186-1-linqiheng@huawei.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 30a70d18
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment