diff mbox series

[2/2] ns16550: drop stray "#ifdef CONFIG_HAS_PCI"

Message ID b4617026-32fb-8840-8998-90273a13fb39@suse.com (mailing list archive)
State Superseded
Headers show
Series ns16550: #ifdef-ary | expand

Commit Message

Jan Beulich Nov. 19, 2020, 8:57 a.m. UTC
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 <julien@xen.org>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
diff mbox series

Patch

--- a/xen/drivers/char/ns16550.c
+++ b/xen/drivers/char/ns16550.c
@@ -968,9 +968,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,