]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Clean up iommu_no_mapping
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Apr 2019 16:14:06 +0000 (18:14 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 11 Apr 2019 15:46:34 +0000 (17:46 +0200)
commit943022b37d6ba28a4e321a03c5592e0e3de78aa1
tree04f5d23ad6b569e03c1e5834ced169aaef3784a3
parent835a554cd9c30e446b77c8ca90ba5acfaa3cc9d3
iommu/vt-d: Clean up iommu_no_mapping

Invert the return value to avoid double negatives, use a bool
instead of int as the return value, and reduce some indentation
after early returns.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c