Linux Serial subsystem development
 help / color / mirror / Atom feed
* [PATCH] serial: bfin_uart: Remove redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE
@ 2013-07-15  5:36 Axel Lin
  2013-07-15  8:00 ` Zhang, Sonic
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-07-15  5:36 UTC (permalink / raw)
  To: Jiri Slaby, Greg Kroah-Hartman
  Cc: Sonic Zhang, uclinux-dist-devel, linux-serial

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>
---
 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
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-15  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-15  5:36 [PATCH] serial: bfin_uart: Remove redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE Axel Lin
2013-07-15  8:00 ` Zhang, Sonic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox