diff options
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index fee16fbf2f33..b7b3067630cf 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -844,7 +844,6 @@ static struct dma_ops_domain *find_protection_domain(u16 devid) | |||
844 | list_for_each_entry(entry, &iommu_pd_list, list) { | 844 | list_for_each_entry(entry, &iommu_pd_list, list) { |
845 | if (entry->target_dev == devid) { | 845 | if (entry->target_dev == devid) { |
846 | ret = entry; | 846 | ret = entry; |
847 | list_del(&ret->list); | ||
848 | break; | 847 | break; |
849 | } | 848 | } |
850 | } | 849 | } |