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

There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code.
Signed-off-by: Adam Ford aford173@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)

On Sat, Dec 30, 2017 at 06:04:03AM -0600, Adam Ford wrote:
There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code.
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index 4364649..3ca5965 100644
Applied to u-boot/master, thanks!
participants (2)
-
Adam Ford
-
Tom Rini