iommu/ipmmu-vmsa: Remove ipmmu_utlb_disable()
authorJoerg Roedel <jroedel@suse.de>
Fri, 13 Jan 2023 18:56:40 +0000 (19:56 +0100)
committerJoerg Roedel <jroedel@suse.de>
Fri, 13 Jan 2023 19:19:11 +0000 (20:19 +0100)
commit584d334b139325aa7468fc2eb045864f260298d1
tree1c7410e697b01e387d27a8225eaa1b33c02667a1
parentd286a58bc8f4d5cf3246481b4e38e4c0c65550ac
iommu/ipmmu-vmsa: Remove ipmmu_utlb_disable()

The function is unused after commit 1b932ceddd19 ("iommu:
Remove detach_dev callbacks") and so compilation fails with

drivers/iommu/ipmmu-vmsa.c:305:13: error: ‘ipmmu_utlb_disable’ defined but not used [-Werror=unused-function]
  305 | static void ipmmu_utlb_disable(struct ipmmu_vmsa_domain *domain,
      |             ^~~~~~~~~~~~~~~~~~

Remove the function to fix the compile error.

Fixes: 1b932ceddd19 ("iommu: Remove detach_dev callbacks")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230113185640.8050-1-joro@8bytes.org
drivers/iommu/ipmmu-vmsa.c