From: Axel Lin Date: Mon, 15 Jul 2013 05:36:03 +0000 (+0800) Subject: serial: bfin_uart: Remove redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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