summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/bfin_uart.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-07-15 13:36:03 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-26 16:04:50 -0700
commit37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3 (patch)
tree2f0db525358101784c7a2e161a583c835cfc05ed /drivers/tty/serial/bfin_uart.c
parent4e3234897fbc4c83286f3cd3105d38b26634812d (diff)
downloadblackbird-op-linux-37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3.tar.gz
blackbird-op-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
OpenPOWER on IntegriCloud