]> 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)
commit31643b5826168c7ad17b99a1039014d3cc140f66
tree30f28f44e9abc981563da2823c648c8992c67ee0
parent5fee8cac3926133fe381be3e785b8c9a447599a9
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