PCI/ATS: Remove unused PRI and PASID stubs
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 9 Oct 2019 21:27:30 +0000 (16:27 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Oct 2019 21:39:11 +0000 (16:39 -0500)
commitc6e9aefbf9db818d60818aa5540d78c1da289aae
tree41d766f28b067183330f143b45f0e28235e0e45e
parentb24d5c2098596a41cf187af41287777a2e0dd753
PCI/ATS: Remove unused PRI and PASID stubs

The following functions are only used by amd_iommu.c and intel-iommu.c
(when CONFIG_INTEL_IOMMU_SVM is enabled).  CONFIG_PCI_PRI and
CONFIG_PCI_PASID are always defined in those cases, so there's no need for
the stubs.

  pci_enable_pri()
  pci_disable_pri()
  pci_reset_pri()
  pci_prg_resp_pasid_required()
  pci_enable_pasid()
  pci_disable_pasid()

Remove the unused stubs.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
include/linux/pci-ats.h