iommu: trivial re-organisation to avoid unnecessary test
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 13 May 2019 15:50:46 +0000 (17:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 13 May 2019 15:50:46 +0000 (17:50 +0200)
commit99bb45e684283b3bc621dbc99b1b93c856b4dd1c
tree7afba227fefdbae439d2c9097c70c926e1daa474
parentf3694f3acba92d46479e2455fd74b32799a9eb02
iommu: trivial re-organisation to avoid unnecessary test

An 'if ( !iommu_enabled )' followed by an 'if ( iommu_enabled )' with
only a printk() in between seems a little silly. Move the printk() and
use 'else' instead.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/iommu.c