Home
last modified time | relevance | path

Searched hist:"81 d94f47" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/wireless/
H A Dreg.c81d94f47 Thu Mar 25 09:38:54 CDT 2021 Qiheng Lin <linqiheng@huawei.com> 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>