[U-Boot] [PATCH] DA850evm: Remove dead code

Adam Ford aford173 at gmail.com
Sat Dec 30 12:04:03 UTC 2017


There is an #ifdef and #endif with nothing in between.  This patch simply
removes this dead/useless code.

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 4364649..3ca5965 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -303,17 +303,11 @@
 #define CONFIG_CLOCKS
 #endif
 
-#ifndef CONFIG_DRIVER_TI_EMAC
-#endif
-
 #ifdef CONFIG_USE_NAND
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #endif
 
-#ifdef CONFIG_USE_SPIFLASH
-#endif
-
 #if !defined(CONFIG_USE_NAND) && \
 	!defined(CONFIG_USE_NOR) && \
 	!defined(CONFIG_USE_SPIFLASH)
-- 
2.7.4



More information about the U-Boot mailing list