Skip to contentSkip to conversation

iommu/amd: remove AMD_IOMMU_STATS

PATCH Applied Fabian Frederick 2 participants 2 messages Aug 22, 2016 – Sep 5, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 iommu/amd: remove AMD_IOMMU_STATS

Commit e85e8f69cedb ("iommu/amd: Remove statistics code") removed that configuration.

Also remove function definition (suggested by Joerg Roedel)

---
V2: Remove function definition.

 arch/x86/configs/x86_64_defconfig | 1 -
 drivers/iommu/amd_iommu_proto.h   | 6 ------
 2 files changed, 7 deletions(-)
arch/x86/configs/x86_64_defconfig +0 -1
index d28bdab..7ef4a09 100644
@@ -255,7 +255,6 @@ CONFIG_RTC_CLASS=y
 CONFIG_DMADEVICES=y
 CONFIG_EEEPC_LAPTOP=y
 CONFIG_AMD_IOMMU=y
-CONFIG_AMD_IOMMU_STATS=y
 CONFIG_INTEL_IOMMU=y
 # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
 CONFIG_EFI_VARS=y
drivers/iommu/amd_iommu_proto.h +0 -6
index 0bd9eb3..a1f3346 100644
@@ -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) &&
Signature · 1 line
2.8.1
Applied
#1 lore raw
Quoted 5 lines · Fabian Frederick

Commit e85e8f69cedb ("iommu/amd: Remove statistics code") removed that configuration.

Also remove function definition (suggested by Joerg Roedel)

Quoted 7 lines

---
V2: Remove function definition.

 arch/x86/configs/x86_64_defconfig | 1 -
 drivers/iommu/amd_iommu_proto.h   | 6 ------
 2 files changed, 7 deletions(-)

Applied, thanks.