]> 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)
commit409c57d9e957d44b20385da96d7adb3fc75d1bb3
tree8d0205b2512b08d960e3b1cde809ef1b43a0aa4a
parent4923c41f019dde9dbdf159335f5fdae155f11692
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