summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/bfin_uart.c
diff options
context:
space:
mode:
authorAxel Lin2013-07-15 07:36:03 +0200
committerGreg Kroah-Hartman2013-07-27 01:04:50 +0200
commit37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3 (patch)
tree2f0db525358101784c7a2e161a583c835cfc05ed /drivers/tty/serial/bfin_uart.c
parentpch_uart: Use DMI interface for board detection (diff)
downloadkernel-qcow2-linux-37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3.tar.gz
kernel-qcow2-linux-37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3.tar.xz
kernel-qcow2-linux-37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3.zip
serial: bfin_uart: Remove redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE
No idea why we have redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE, check it once is enough. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/bfin_uart.c')
-rw-r--r--drivers/tty/serial/bfin_uart.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c
index 26a3be7ced7d..72031d754dc0 100644
--- a/drivers/tty/serial/bfin_uart.c
+++ b/drivers/tty/serial/bfin_uart.c
@@ -41,10 +41,6 @@
# undef CONFIG_EARLY_PRINTK
#endif
-#ifdef CONFIG_SERIAL_BFIN_MODULE
-# undef CONFIG_EARLY_PRINTK
-#endif
-
/* UART name and device definitions */
#define BFIN_SERIAL_DEV_NAME "ttyBF"
#define BFIN_SERIAL_MAJOR 204