IB/hfi1: Remove unused struct mmu_rb_ops fields .insert, .invalidate
authorBrendan Cunningham <bcunningham@cornelisnetworks.com>
Fri, 19 May 2023 16:54:25 +0000 (12:54 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 1 Jun 2023 17:45:58 +0000 (14:45 -0300)
commit95ea2efbd66fb9e85238bd8d59341f8ce7a31065
tree3bdf24063aedc0b331a09f4236876a3c6d04b99a
parente236e2eae52e1e7fb0d38b8d921b04e527151b73
IB/hfi1: Remove unused struct mmu_rb_ops fields .insert, .invalidate

The struct mmu_rb_ops function pointers .insert, .invalidate were only
used to increment and decrement struct sdma_mmu_node.refcount.

With the deletion of struct sdma_mmu_node.refcount and the addition of
struct mmu_rb_node.refcount  these function pointers are not called and
there are no implementations of them. So it is safe to delete these from
struct mmu_rb_ops.

Link: https://lore.kernel.org/r/168451526508.3702129.8677714753157495310.stgit@awfm-02.cornelisnetworks.com
Signed-off-by: Brendan Cunningham <bcunningham@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hfi1/mmu_rb.h