iommu/amd: Remove unused PPR_* macros
authorVasant Hegde <vasant.hegde@amd.com>
Thu, 18 Jan 2024 09:01:00 +0000 (09:01 +0000)
committerJoerg Roedel <jroedel@suse.de>
Fri, 9 Feb 2024 10:40:31 +0000 (11:40 +0100)
Commit 5a0b11a180a ("iommu/amd: Remove iommu_v2 module") missed to
remove PPR_* macros. Remove these macros as its not used anymore.

No functional change intended.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240118090105.5864-2-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu.h

index 8b3601f285fd699dd4d9d4d32e1ac62c2c5e3058..2cef9796f09cb885a89064a6a42f436cce205d65 100644 (file)
@@ -77,10 +77,6 @@ static inline int amd_iommu_create_irq_domain(struct amd_iommu *iommu)
 }
 #endif
 
-#define PPR_SUCCESS                    0x0
-#define PPR_INVALID                    0x1
-#define PPR_FAILURE                    0xf
-
 int amd_iommu_complete_ppr(struct pci_dev *pdev, u32 pasid,
                           int status, int tag);