From: Jan Beulich Date: Tue, 24 Nov 2020 10:28:41 +0000 (+0100) Subject: ns16550: drop stray "#ifdef CONFIG_HAS_PCI" X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1387 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8147e00e4fbfcc43b665dc6bf279b204c501ba04;p=xen.git ns16550: drop stray "#ifdef CONFIG_HAS_PCI" 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 Signed-off-by: Jan Beulich Reviewed-by: Stefano Stabellini Reviewed-by: Rahul Singh --- diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c index 82087c4a7a..9235d854fe 100644 --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -662,9 +662,7 @@ static int __init check_existence(struct ns16550 *uart) 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,