commit | 5b34af861f0b4c61254ba6cf0aa295b520a26fc6 | [log] [tgz] |
---|---|---|
author | Zheng Yongjun <zhengyongjun3@huawei.com> | Tue Dec 29 21:49:18 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 05 15:43:41 2021 -0800 |
tree | 421854c01c084cd9a7a015e9162d7c3af5c36652 | |
parent | 520ec34385d57ae18ec034ddc38b4b3425b2742b [diff] |
net: wan: Use DEFINE_SPINLOCK() for spinlock spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>