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)
commit48b2c937ea37a3bece0094b46450ed5267525289
tree04f5d23ad6b569e03c1e5834ced169aaef3784a3
parent0e8000f8f616df653d0d7fcc43fafae7e5b07c0b
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