Skip to content
Snippets Groups Projects
Commit 30a70d18 authored by Guobin Huang's avatar Guobin Huang Committed by Johannes Berg
Browse files

mac80211_hwsim: 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 avatarGuobin Huang <huangguobin4@huawei.com>
Link: https://lore.kernel.org/r/1616839160-6654-1-git-send-email-huangguobin4@huawei.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ed7247f3
No related branches found
No related tags found
Loading
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