Skip to contentSkip to conversation

DA850evm: Remove dead code

PATCH In review Adam Ford 2 participants 2 messages Dec 30, 2017 – Jan 19, 2018

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 DA850evm: Remove dead code

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

include/configs/da850evm.h +0 -6
index 4364649..3ca5965 100644
@@ -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)
Signature · 1 line
2.7.4
#1 lore raw

include/configs/da850evm.h

Quoted 7 lines · Adam Ford

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

include/configs/da850evm.h +0 -0
index 4364649..3ca5965 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180119/be2b0968/attachment.sig>