aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_qp.c
diff options
context:
space:
mode:
authorZhu Yanjun <zyjzyj2000@gmail.com>2021-09-15 03:51:28 -0400
committerJason Gunthorpe <jgg@nvidia.com>2021-09-14 16:22:48 -0300
commitad17bbef3dd573da937816edc0ab84fed6a17fa6 (patch)
tree4a524952485290b11b3d8c6d905da685801fc5fe /drivers/infiniband/sw/rxe/rxe_qp.c
parentRDMA/rxe: remove the redundant variable (diff)
downloadlinux-dev-ad17bbef3dd573da937816edc0ab84fed6a17fa6.tar.xz
linux-dev-ad17bbef3dd573da937816edc0ab84fed6a17fa6.zip
RDMA/rxe: remove the unnecessary variable
In the struct rxe_qp, the variable send_pkts is never used. So remove it. Link: https://lore.kernel.org/r/20210915075128.482919-1-yanjun.zhu@intel.com Signed-off-by: Zhu Yanjun <zyjzyj2000@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_qp.c')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_qp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_qp.c b/drivers/infiniband/sw/rxe/rxe_qp.c
index 1ab6af7ddb25..fa97ce9eaea3 100644
--- a/drivers/infiniband/sw/rxe/rxe_qp.c
+++ b/drivers/infiniband/sw/rxe/rxe_qp.c
@@ -190,8 +190,6 @@ static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp,
INIT_LIST_HEAD(&qp->grp_list);
- skb_queue_head_init(&qp->send_pkts);
-
spin_lock_init(&qp->grp_lock);
spin_lock_init(&qp->state_lock);