diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-01-06 14:18:15 +0800 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2014-01-09 12:43:31 +0100 |
commit | b8a2d2881e6682464f6a832eea4c9be298d70c41 (patch) | |
tree | 6a1d8162489c72250ed4302ef3766407184211f6 /drivers/iommu/dmar.c | |
parent | b977e73a837963ad73d24db4ca7b71040791868c (diff) | |
download | op-kernel-dev-b8a2d2881e6682464f6a832eea4c9be298d70c41.zip op-kernel-dev-b8a2d2881e6682464f6a832eea4c9be298d70c41.tar.gz |
iommu/vt-d, trivial: clean up unused code
Remove dead code from VT-d related files.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Conflicts:
drivers/iommu/dmar.c
Diffstat (limited to 'drivers/iommu/dmar.c')
-rw-r--r-- | drivers/iommu/dmar.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c index e4c3ea0..5a4e9af 100644 --- a/drivers/iommu/dmar.c +++ b/drivers/iommu/dmar.c @@ -1113,8 +1113,6 @@ static const char *irq_remap_fault_reasons[] = "Blocked an interrupt request due to source-id verification failure", }; -#define MAX_FAULT_REASON_IDX (ARRAY_SIZE(fault_reason_strings) - 1) - static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) { if (fault_reason >= 0x20 && (fault_reason - 0x20 < |