From: Vasant Hegde Date: Thu, 18 Jan 2024 09:01:00 +0000 (+0000) Subject: iommu/amd: Remove unused PPR_* macros X-Git-Tag: v6.9-rc1~153^2^6~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be4f5995875353efd5c438375b2a68453f137b6e;p=thirdparty%2Flinux.git iommu/amd: Remove unused PPR_* macros 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 Reviewed-by: Suravee Suthikulpanit Reviewed-by: Alejandro Jimenez Reviewed-by: Jason Gunthorpe Link: https://lore.kernel.org/r/20240118090105.5864-2-vasant.hegde@amd.com Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/amd/amd_iommu.h b/drivers/iommu/amd/amd_iommu.h index 8b3601f285fd6..2cef9796f09cb 100644 --- a/drivers/iommu/amd/amd_iommu.h +++ b/drivers/iommu/amd/amd_iommu.h @@ -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);