]> git.baikalelectronics.ru Git - kernel.git/commit
net: wan: Use DEFINE_SPINLOCK() for spinlock
authorZheng Yongjun <zhengyongjun3@huawei.com>
Tue, 29 Dec 2020 13:49:18 +0000 (21:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2021 23:43:41 +0000 (15:43 -0800)
commit6111466d18d37125a190368cb4ac7ee5fff0b0b3
tree421854c01c084cd9a7a015e9162d7c3af5c36652
parentbfba90bfaaf2946a8deaba341d9b1f3bc746c8a6
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>
drivers/net/wan/ixp4xx_hss.c