linux/drivers/infiniband/hw/hns
Yangyang Li 58bc7acaf3 RDMA/hns: Delete unnecessary branch of hns_roce_v2_query_qp
When query_qp is called by userspace, max_send_wr and max_send_sge are set
to 0 by the kernel driver. However, the userspace does not use these two
return values from the kernel driver, but uses its own calculated values.
So there is no need for special treatment.

Fixes: 926a01dc00 ("RDMA/hns: Add QP operations support for hip08 SoC")
Link: https://lore.kernel.org/r/1624011020-16992-6-git-send-email-liweihang@huawei.com
Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-22 15:17:06 -03:00
..
hns_roce_ah.c RDMA/hns: Avoid filling sl in high 3 bits of vlan_id 2020-12-11 15:21:34 -04:00
hns_roce_alloc.c RDMA/hns: Use IDA interface to manage xrcd index 2021-06-21 15:42:54 -03:00
hns_roce_cmd.c RDMA/hns: Modify prints for mailbox and command queue 2021-04-08 16:05:04 -03:00
hns_roce_cmd.h RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_common.h RDMA/hns: Add hr_reg_write_bool() 2021-06-21 15:03:41 -03:00
hns_roce_cq.c RDMA/hns: Use refcount_t instead of atomic_t for CQ reference counting 2021-06-08 14:56:11 -03:00
hns_roce_db.c RDMA/hns: Remove unused parameter udata 2021-05-20 11:52:16 -03:00
hns_roce_device.h RDMA/hns: Use IDA interface to manage xrcd index 2021-06-21 15:42:54 -03:00
hns_roce_hem.c RDMA: Fix kernel-doc warnings about wrong comment 2021-06-21 20:32:50 -03:00
hns_roce_hem.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v1.c RDMA/hns: Use IDA interface to manage mtpt index 2021-06-21 15:42:53 -03:00
hns_roce_hw_v1.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Delete unnecessary branch of hns_roce_v2_query_qp 2021-06-22 15:17:06 -03:00
hns_roce_hw_v2.h RDMA/hns: Clean SRQC structure definition 2021-06-21 15:03:42 -03:00
hns_roce_main.c RDMA/hns: Use IDA interface to manage xrcd index 2021-06-21 15:42:54 -03:00
hns_roce_mr.c RDMA/hns: Fix some print issues 2021-06-22 15:17:06 -03:00
hns_roce_pd.c RDMA/hns: Use IDA interface to manage xrcd index 2021-06-21 15:42:54 -03:00
hns_roce_qp.c RDMA/hns: Fix some print issues 2021-06-22 15:17:06 -03:00
hns_roce_restrack.c RDMA: Add a dedicated CQ resource tracker function 2020-06-23 11:46:27 -03:00
hns_roce_srq.c RDMA/hns: Remove unused RR mechanism 2021-06-21 15:42:53 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00