RDMA/hns: Remove the unused hns_roce_bitmap_free_range function
authorYangyang Li <liyangyang20@huawei.com>
Thu, 10 Jun 2021 11:50:10 +0000 (19:50 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 21 Jun 2021 18:42:53 +0000 (15:42 -0300)
commit1bc530c79d9346e3298359d4dbdbad204d078885
treed446260199c0674b08b6a10e33c693df4771108c
parent24977edbb5c5e342bf63c533f43bdcb55d48d9fd
RDMA/hns: Remove the unused hns_roce_bitmap_free_range function

hns_roce_bitmap_free_range() is only called inside hns_roce_bitmap_free(),
and the input parameter "cnt" is set to a constant 1. In addition, the
driver does not use alloc_range scenarios, so free_range does not need to
exist.

Link: https://lore.kernel.org/r/1623325814-55737-3-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_alloc.c
drivers/infiniband/hw/hns/hns_roce_device.h