]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu: Avoid unnecessary assignment of dev->iommu_fwspec
authorZhen Lei <thunder.leizhen@huawei.com>
Fri, 3 Feb 2017 09:35:02 +0000 (17:35 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 6 Feb 2017 13:06:42 +0000 (14:06 +0100)
commit909111ba0ba6aa228d9b6e9cf01dd68a46586cb4
tree4f129bfa5f167e88f6ce3971dd0d502ca63cea32
parenta1831bb9403720db6d4c033fe2d6bd0116dd28fe
iommu: Avoid unnecessary assignment of dev->iommu_fwspec

Move the assignment statement into if branch above, where it only
needs to be.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c