Skip to content

Commit 95eb6a0

Browse files
hegdevasantjoergroedel
authored andcommitted
iommu/amd: Remove unused DTE_GCR3_INDEX_* macros
It was added in commit 52815b7 ("iommu/amd: Add support for IOMMUv2 domain mode"), but never used it. Hence remove these unused macros. Signed-off-by: Vasant Hegde <[email protected]> Reviewed-by: Suravee Suthikulpanit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 53f1fb0 commit 95eb6a0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/iommu/amd/amd_iommu_types.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,6 @@
415415
#define DTE_GCR3_VAL_B(x) (((x) >> 15) & 0x0ffffULL)
416416
#define DTE_GCR3_VAL_C(x) (((x) >> 31) & 0x1fffffULL)
417417

418-
#define DTE_GCR3_INDEX_A 0
419-
#define DTE_GCR3_INDEX_B 1
420-
#define DTE_GCR3_INDEX_C 1
421-
422418
#define DTE_GCR3_SHIFT_A 58
423419
#define DTE_GCR3_SHIFT_B 16
424420
#define DTE_GCR3_SHIFT_C 43

0 commit comments

Comments
 (0)