diff options
author | Xiao Yang <yangx.jy@fujitsu.com> | 2021-09-30 17:48:10 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-10-06 19:45:29 -0300 |
commit | 1cf2ce8272802e677398fab47a73713bc6e1fd5c (patch) | |
tree | 81f12eaba55e66e50ccdb3e9aae1e53b5b578767 /drivers/infiniband/sw/rxe/rxe_qp.c | |
parent | RDMA/irdma: Delete unused struct irdma_bth (diff) | |
download | linux-dev-1cf2ce8272802e677398fab47a73713bc6e1fd5c.tar.xz linux-dev-1cf2ce8272802e677398fab47a73713bc6e1fd5c.zip |
RDMA/rxe: Remove the is_user members of struct rxe_sq/rxe_rq/rxe_srq
The is_user members of struct rxe_sq/rxe_rq/rxe_srq are unsed since
commit ae6e843fe08d ("RDMA/rxe: Add memory barriers to kernel queues").
In this case, it is fine to remove them directly.
Link: https://lore.kernel.org/r/20210930094813.226888-2-yangx.jy@fujitsu.com
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.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.c | 2 |
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 c8f4790083d2..975321812c87 100644 --- a/drivers/infiniband/sw/rxe/rxe_qp.c +++ b/drivers/infiniband/sw/rxe/rxe_qp.c @@ -307,8 +307,6 @@ static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, spin_lock_init(&qp->rq.producer_lock); spin_lock_init(&qp->rq.consumer_lock); - qp->rq.is_user = qp->is_user; - skb_queue_head_init(&qp->resp_pkts); rxe_init_task(rxe, &qp->resp.task, qp, |