RE: [PATCH] serial: bfin_uart: Remove redundant testing for ifdef CONFIG_SERIAL_BFIN_MODULE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Sonic Zhang<sonic.zhang@xxxxxxxxxx>


>-----Original Message-----
>From: Axel Lin [mailto:axel.lin@xxxxxxxxxx]
>Sent: Monday, July 15, 2013 1:36 PM
>To: Jiri Slaby; Greg Kroah-Hartman
>Cc: Zhang, Sonic; uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx; linux-
>serial@xxxxxxxxxxxxxxx
>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 <axel.lin@xxxxxxxxxx>
>---
> 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
>
>
>

��.n��������+%������w��{.n�����{��ǫ����{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&��





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux