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)
commit9216d05943833bdedefb8c88680a48f9e5e4aafc
tree4856085115af8064483ae4e32d0261959108cac5
parentc2fcafa78a33576b7fe47f5e4f85d413a62c2fe2
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