commit | 30a70d18e862d505a34f2b21ccb83f5d4792e2d5 | [log] [tgz] |
---|---|---|
author | Guobin Huang <huangguobin4@huawei.com> | Sat Mar 27 17:59:20 2021 +0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Apr 08 10:17:13 2021 +0200 |
tree | de997e0d546cd99d30ac051ac59ae125c2e1d88e | |
parent | ed7247f30982bbc6f8bffd12a0c76398b90ec319 [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>