serial: bfin_uart: Remove redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE
PATCH 1/1 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 <[email protected]>
--- drivers/tty/serial/bfin_uart.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/tty/serial/bfin_uart.c +0 -4
@@ -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
Signature · 1 line
1.8.1.2
Acked-by Sonic Zhang<[email protected]>
Quoted 37 lines
-----Original Message-----
From: Axel Lin [mailto:[email protected]]
Sent: Monday, July 15, 2013 1:36 PM
To: Jiri Slaby; Greg Kroah-Hartman
Cc: Zhang, Sonic; [email protected]; linux- [email protected]
Subject: [PATCH] serial:bfin_uart: Remove redundant testing for ifdefCONFIG_SERIAL_BFIN_MODULENo idea why we have redundant testing for ifdef
CONFIG_SERIAL_BFIN_MODULE, check it once is enough.Signed-off-by Axel Lin <[email protected]>---
drivers/tty/serial/bfin_uart.c| 4 ----1 file changed, 4 deletions(-)drivers/tty/serial/bfin_uart.c index renamed from drivers/tty/serial/bfin_uart.c +0
-026a3be7..72031d7 100644
drivers/tty/serial/bfin_uart.c +0
-5@@ -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 --1.8.1.2