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-Tag: upstream/snapshot3+hdmi~4472^2~127 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 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