]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Redefine interfaces used in creating cq
authorYixian Liu <liuyixian@huawei.com>
Mon, 18 Nov 2019 02:34:50 +0000 (10:34 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Nov 2019 14:31:48 +0000 (10:31 -0400)
commitffa0560dcea06d322e34a6a77e1d48ff51186a01
tree30f28f44e9abc981563da2823c648c8992c67ee0
parent4f6d66dda71d668656b207c053e54d8ba00c3cb0
RDMA/hns: Redefine interfaces used in creating cq

Some interfaces defined with unnecessary input parameters, such as "nent"
and "vector". This patch redefined these interfaces to make the code more
readable and simple.

Link: https://lore.kernel.org/r/1574044493-46984-2-git-send-email-liweihang@hisilicon.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_cq.c
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c