diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2023-04-25 01:02:41 +0000 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-06-01 13:11:41 -0300 |
commit | 1cc625cecce9cbbe7898c88cc9e6c06021d7d8f0 (patch) | |
tree | 8cd12f5d48f503bd461db3787893cfdc73236b60 /.mailmap | |
parent | 84510a61ef0974ec765cc68d04ddab905b9b6c7c (diff) | |
download | lwn-1cc625cecce9cbbe7898c88cc9e6c06021d7d8f0.tar.gz lwn-1cc625cecce9cbbe7898c88cc9e6c06021d7d8f0.zip |
RDMA/rtrs: Remove duplicate cq_num assignment
line 1701 and 1713 are duplicate:
> 1701 cq_num = max_send_wr + max_recv_wr;
1702 /* alloc iu to recv new rkey reply when server reports flags set */
1703 if (clt_path->flags & RTRS_MSG_NEW_RKEY_F || con->c.cid == 0) {
1704 con->rsp_ius = rtrs_iu_alloc(cq_num, sizeof(*rsp),
1705 GFP_KERNEL,
1706 clt_path->s.dev->ib_dev,
1707 DMA_FROM_DEVICE,
1708 rtrs_clt_rdma_done);
1709 if (!con->rsp_ius)
1710 return -ENOMEM;
1711 con->queue_num = cq_num;
1712 }
> 1713 cq_num = max_send_wr + max_recv_wr;
Remove the duplicate.
Link: https://lore.kernel.org/r/1682384563-2-2-git-send-email-lizhijian@fujitsu.com
Acked-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions