diff options
author | Guobin Huang <huangguobin4@huawei.com> | 2021-04-06 20:11:56 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-04-08 10:16:53 +0200 |
commit | ed7247f30982bbc6f8bffd12a0c76398b90ec319 (patch) | |
tree | d0369a640f63aad8be943eb1fe59779dcfa65e40 /net/switchdev | |
parent | 3cd52c1e32fe7dfee09815ced702db9ee9f84ec9 (diff) |
rfkill: 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/1617711116-49370-1-git-send-email-huangguobin4@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions