RDMA/hns: Modify function return value type
authorYangyang Li <liyangyang20@huawei.com>
Fri, 18 Jun 2021 10:10:17 +0000 (18:10 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 22 Jun 2021 18:17:07 +0000 (15:17 -0300)
commita33958ca5204f8d2342fd8fe9f547e33fa6c07ed
treeb5f9cca722802ab48a377c6c48c717d841516e27
parentc2614b99337db74d1f667e447798c5434658ac7e
RDMA/hns: Modify function return value type

hns_roce_init_qp_table() will only return 0, because this function does
not need to return a value, so it is modified to void type.

Link: https://lore.kernel.org/r/1624011020-16992-8-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>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_main.c
drivers/infiniband/hw/hns/hns_roce_qp.c