RDMA/hns: Make some function static
authorYueHaibing <yuehaibing@huawei.com>
Fri, 1 Feb 2019 03:11:04 +0000 (11:11 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 4 Feb 2019 22:33:58 +0000 (15:33 -0700)
commitc3c668e742397dfc107e44c09606cc68b37df30d
tree033fe31a598bfc7ffd1d5657ee8502383aac74aa
parent6a8a2aa62da2fbe51f5449993fd366398048f465
RDMA/hns: Make some function static

Fixes the following sparse warnings:

drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5822:5: warning:
 symbol 'hns_roce_v2_query_srq' was not declared. Should it be static?
drivers/infiniband/hw/hns/hns_roce_srq.c:158:6: warning:
 symbol 'hns_roce_srq_free' was not declared. Should it be static?
drivers/infiniband/hw/hns/hns_roce_srq.c:81:5: warning:
 symbol 'hns_roce_srq_alloc' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_srq.c