summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2016-08-22 21:11:31 +0200
committerJoerg Roedel <jroedel@suse.de>2016-09-05 12:42:27 +0200
commit395adae45095e55ee90e688e9021d79dd6ffaefe (patch)
tree5764efe0925b907b78f9834a9cf594568c44281d /drivers/iommu
parent517abe495df7279f3a45ae01ed709e07d384309e (diff)
downloadlinux-stable-395adae45095e55ee90e688e9021d79dd6ffaefe.tar.gz
linux-stable-395adae45095e55ee90e688e9021d79dd6ffaefe.tar.bz2
linux-stable-395adae45095e55ee90e688e9021d79dd6ffaefe.zip
iommu/amd: Remove AMD_IOMMU_STATS
Commit e85e8f69cedb ("iommu/amd: Remove statistics code") removed that configuration. Also remove function definition (suggested by Joerg Roedel) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/amd_iommu_proto.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/iommu/amd_iommu_proto.h b/drivers/iommu/amd_iommu_proto.h
index 0bd9eb374462..a1f3346736e5 100644
--- a/drivers/iommu/amd_iommu_proto.h
+++ b/drivers/iommu/amd_iommu_proto.h
@@ -78,12 +78,6 @@ static inline int amd_iommu_create_irq_domain(struct amd_iommu *iommu)
extern int amd_iommu_complete_ppr(struct pci_dev *pdev, int pasid,
int status, int tag);
-#ifndef CONFIG_AMD_IOMMU_STATS
-
-static inline void amd_iommu_stats_init(void) { }
-
-#endif /* !CONFIG_AMD_IOMMU_STATS */
-
static inline bool is_rd890_iommu(struct pci_dev *pdev)
{
return (pdev->vendor == PCI_VENDOR_ID_ATI) &&