RDMA/rxe: Remove init of task locks from rxe_qp.c
authorBob Pearson <rpearsonhpe@gmail.com>
Fri, 21 Oct 2022 20:01:03 +0000 (15:01 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 28 Oct 2022 16:47:15 +0000 (13:47 -0300)
commit98a54f170617746b5d09b18b23b295efc7a42a5e
tree705c5c828ecc4e70505ce50d492458b7fdcd6316
parent05e88ebb9ecfe9631ccc6483a79b0eabf554da60
RDMA/rxe: Remove init of task locks from rxe_qp.c

The calls to spin_lock_init() for the tasklet spinlocks in
rxe_qp_init_misc() are redundant since they are intiialized in
rxe_init_task().  This patch removes them.

Link: https://lore.kernel.org/r/20221021200118.2163-3-rpearsonhpe@gmail.com
Signed-off-by: Ian Ziemba <ian.ziemba@hpe.com>
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_qp.c