]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Remove unused function to_hns_roce_state()
authorYixing Liu <liuyixing1@huawei.com>
Sat, 9 Apr 2022 08:32:51 +0000 (16:32 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 11 Apr 2022 14:00:33 +0000 (11:00 -0300)
commitfbd8a31d3899301a7b0adf2c02d6a379f04f2498
tree4856085115af8064483ae4e32d0261959108cac5
parent3b37ff6ad08fd04087b74c7e43272402e9ea1fcf
RDMA/hns: Remove unused function to_hns_roce_state()

This function is only used in HIP06, which has been removed. So remove it.

Link: https://lore.kernel.org/r/20220409083254.9696-3-liangwenpeng@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_qp.c