There's no point wrapping the function invocation when - the function body is already suitably wrapped, - the function itself is unconditionally available.
Reported-by: Julien Grall <jul...@xen.org> Signed-off-by: Jan Beulich <jbeul...@suse.com> --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -662,9 +662,7 @@ static int __init check_existence(struct return 1; /* Everything is MMIO */ #endif -#ifdef CONFIG_HAS_PCI pci_serial_early_init(uart); -#endif /* * Do a simple existence test first; if we fail this,