]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit781b93662e89602acd38b337864566289cb9ef07
tree8d0205b2512b08d960e3b1cde809ef1b43a0aa4a
parente8281cd6f8792e9944859d72ae45851bc9d9e382
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