diff options
author | Wenpeng Liang <[email protected]> | 2019-08-21 21:14:34 +0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2019-08-28 11:57:26 -0400 |
commit | 18df508c7970c2c5e8bcaed48469bb28f9075e89 (patch) | |
tree | e8c604bc780cf83ae5f1a0182d2719853afa8f96 /drivers/usb/cdns3/cdns3-ti.c | |
parent | e075da5e7c47ee1c20b4e8f9a20c6105be99b10f (diff) |
RDMA/hns: Remove if-else judgment statements for creating srq
Because if the value of srqwqe_buf_pg_sz is zero, npages and
ib_umem_page_count are equivalent, page_shif and PAGE_SHIFT
are equivalent in hns_roce_create_srq. Here remove it.
Signed-off-by: Wenpeng Liang <[email protected]>
Signed-off-by: Lijun Ou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions