diff options
Diffstat (limited to 'drivers/pci/intel-iommu.c')
-rw-r--r-- | drivers/pci/intel-iommu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index 4a4ab651b709..25fc1df486bb 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
@@ -1799,7 +1799,7 @@ static int __init init_dmars(void) | |||
1799 | struct dmar_rmrr_unit *rmrr; | 1799 | struct dmar_rmrr_unit *rmrr; |
1800 | struct pci_dev *pdev; | 1800 | struct pci_dev *pdev; |
1801 | struct intel_iommu *iommu; | 1801 | struct intel_iommu *iommu; |
1802 | int i, ret, unit = 0; | 1802 | int i, ret; |
1803 | 1803 | ||
1804 | /* | 1804 | /* |
1805 | * for each drhd | 1805 | * for each drhd |
@@ -1921,7 +1921,6 @@ static int __init init_dmars(void) | |||
1921 | if (drhd->ignored) | 1921 | if (drhd->ignored) |
1922 | continue; | 1922 | continue; |
1923 | iommu = drhd->iommu; | 1923 | iommu = drhd->iommu; |
1924 | sprintf (iommu->name, "dmar%d", unit++); | ||
1925 | 1924 | ||
1926 | iommu_flush_write_buffer(iommu); | 1925 | iommu_flush_write_buffer(iommu); |
1927 | 1926 | ||