]> asedeno.scripts.mit.edu Git - linux.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)
commite2b2744a06d35ba44f32c86e0579d986931187b3
tree30f28f44e9abc981563da2823c648c8992c67ee0
parent666e8ff535d401eb286fa20446e55ae984d91049
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