diff options
author | Ye Bin <yebin10@huawei.com> | 2021-04-09 17:51:47 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-12 15:37:38 -0300 |
commit | 8166e0090511275f0da13a09824bdb43c7972405 (patch) | |
tree | 1da78815336ebbd3183b378db8026f1970f52a96 /include | |
parent | 22efb0a8d130c6379c1eb64cbace1542b27e37ff (diff) | |
download | linux-8166e0090511275f0da13a09824bdb43c7972405.tar.bz2 |
RDMA/i40iw: Use DEFINE_SPINLOCK() for spinlock
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather
than explicitly calling spin_lock_init().
Link: https://lore.kernel.org/r/20210409095147.2294269-1-yebin10@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions