commit | 1454c51d1ec1277a54505159c5de62be0c2a2597 | [log] [tgz] |
---|---|---|
author | Zheng Yongjun <zhengyongjun3@huawei.com> | Tue Dec 29 21:49:47 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 05 15:43:41 2021 -0800 |
tree | 63b630f1c6cc13aeeee685d45e9f763a2bc8c21a | |
parent | 447d871a0d08c20bf2a7573065e1fa08ab79c6df [diff] |
net: ixp4xx_eth: 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>