Title: [7423] trunk/arch/blackfin: Task[#3704] Remove redundent condition.
- Revision
- 7423
- Author
- sonicz
- Date
- 2009-09-23 04:21:40 -0400 (Wed, 23 Sep 2009)
Log Message
Task[#3704] Remove redundent condition.
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-bf537/boards/stamp.c (7422 => 7423)
--- trunk/arch/blackfin/mach-bf537/boards/stamp.c 2009-09-23 08:06:25 UTC (rev 7422)
+++ trunk/arch/blackfin/mach-bf537/boards/stamp.c 2009-09-23 08:21:40 UTC (rev 7423)
@@ -1887,7 +1887,7 @@
static struct platform_device *stamp_early_devices[] __initdata = {
-#if defined(CONFIG_SERIAL_BFIN_CONSOLE) && defined(CONFIG_SERIAL_BFIN)
+#if defined(CONFIG_SERIAL_BFIN_CONSOLE)
#ifdef CONFIG_SERIAL_BFIN_UART0
&bfin_uart0_device,
#endif
@@ -1896,7 +1896,7 @@
#endif
#endif
-#if defined(CONFIG_SERIAL_BFIN_SPORT_CONSOLE) && defined(CONFIG_SERIAL_BFIN_SPORT)
+#if defined(CONFIG_SERIAL_BFIN_SPORT_CONSOLE)
#ifdef CONFIG_SERIAL_BFIN_SPORT0_UART
&bfin_sport0_uart_device,
#endif
Modified: trunk/arch/blackfin/mach-bf548/boards/ezkit.c (7422 => 7423)
--- trunk/arch/blackfin/mach-bf548/boards/ezkit.c 2009-09-23 08:06:25 UTC (rev 7422)
+++ trunk/arch/blackfin/mach-bf548/boards/ezkit.c 2009-09-23 08:21:40 UTC (rev 7423)
@@ -1400,7 +1400,7 @@
arch_initcall(ezkit_init);
static struct platform_device *ezkit_early_devices[] __initdata = {
-#if defined(CONFIG_SERIAL_BFIN_CONSOLE) && defined(CONFIG_SERIAL_BFIN)
+#if defined(CONFIG_SERIAL_BFIN_CONSOLE)
#ifdef CONFIG_SERIAL_BFIN_UART0
&bfin_uart0_device,
#endif
@@ -1415,7 +1415,7 @@
#endif
#endif
-#if defined(CONFIG_SERIAL_BFIN_SPORT_CONSOLE) && defined(CONFIG_SERIAL_BFIN_SPORT)
+#if defined(CONFIG_SERIAL_BFIN_SPORT_CONSOLE)
#ifdef CONFIG_SERIAL_BFIN_SPORT0_UART
&bfin_sport0_uart_device,
#endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits