From 37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Mon, 15 Jul 2013 13:36:03 +0800 Subject: [PATCH] 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 Acked-by: Sonic Zhang Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/bfin_uart.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c index 26a3be7..72031d7 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 -- 2.7.4