iommu/amd: Remove the unnecessary assignment
authorAdrian Huang <ahuang12@lenovo.com>
Wed, 22 Jan 2020 14:36:29 +0000 (22:36 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 24 Jan 2020 14:38:31 +0000 (15:38 +0100)
commit154e3a65f404cfd5fbb7f49df01905d4ad025264
tree8d0205b2512b08d960e3b1cde809ef1b43a0aa4a
parent96466748780dc41d2fa951f3c4e010f98832e182
iommu/amd: Remove the unnecessary assignment

The assignment of the global variable 'iommu_detected' has been
moved from amd_iommu_init_dma_ops() to amd_iommu_detect(), so
this patch removes the assignment in amd_iommu_init_dma_ops().

Signed-off-by: Adrian Huang <ahuang12@lenovo.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c