IOMMU/x86: tidy adjust_irq_affinities hook
authorJan Beulich <jbeulich@suse.com>
Mon, 14 Mar 2022 09:32:40 +0000 (10:32 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 14 Mar 2022 09:32:40 +0000 (10:32 +0100)
commite2589ef65283f475b3c980020a2d1d79ab593d65
tree165994009d2d0dfdaa3bd6cd04728683eea16daa
parent7b4b36fcbabaa616b301edce8491ebbe002a71f3
IOMMU/x86: tidy adjust_irq_affinities hook

As of 3e56754b0887 ("xen/cet: Fix __initconst_cf_clobber") there's no
need for a non-void return value anymore, as the hook functions are no
longer themselves passed to __initcall(). For the same reason the
iommu_enabled checks can now move from the individual functions to the
wrapper.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/include/asm/iommu.h
xen/drivers/passthrough/amd/iommu.h
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/x86/iommu.c
xen/include/xen/iommu.h