diff options
author | Ye Bin <yebin10@huawei.com> | 2021-04-09 11:51:47 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-12 20:37:38 +0200 |
commit | 8166e0090511275f0da13a09824bdb43c7972405 (patch) | |
tree | 1da78815336ebbd3183b378db8026f1970f52a96 /net/rds | |
parent | RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal() (diff) | |
download | linux-8166e0090511275f0da13a09824bdb43c7972405.tar.xz linux-8166e0090511275f0da13a09824bdb43c7972405.zip |
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 'net/rds')
0 files changed, 0 insertions, 0 deletions