iommufd: Remove iommufd_ref_to_users()
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 14 Aug 2023 23:24:34 +0000 (20:24 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 15 Aug 2023 13:03:14 +0000 (10:03 -0300)
commit65aaca1134025d437882535c9eb54903b9cd09c9
tree541df3cb30d9b3a8e05a540a54b256a6e08c1697
parenta35762dd14adb952442e487d8dad4bb50b614b2b
iommufd: Remove iommufd_ref_to_users()

This no longer has any callers, remove the function

Kevin noticed that after commit 99f98a7c0d69 ("iommufd: IOMMUFD_DESTROY
should not increase the refcount") there was only one other user and it
turns out the rework in commit 9227da7816dd ("iommufd: Add
iommufd_access_change_ioas(_id) helpers") got rid of the last one.

Link: https://lore.kernel.org/r/0-v1-abb31bedd888+c1-iommufd_ref_to_users_jgg@nvidia.com
Suggested-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/iommufd/iommufd_private.h