[U-Boot] [PATCH 1/3] configs: Remove empty #ifdef/#ifndef blocks

Chris Packham judge.packham at gmail.com
Mon Jun 4 09:45:21 UTC 2018


Remove empty #ifdef/#ifndef..#endif blocks where the configuration they
guarded has been completely removed.

Signed-off-by: Chris Packham <judge.packham at gmail.com>
---

 include/configs/UCP1020.h | 2 --
 include/configs/vme8349.h | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index fad1eabba336..f5c647870fc0 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -68,8 +68,6 @@
 #define CONFIG_NETMASK		255.255.255.0
 #define CONFIG_ETHPRIME		"eTSEC1"
 
-#ifndef CONFIG_SPI_FLASH
-#endif
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
 
 #define CONFIG_SYS_L2_SIZE	(256 << 10)
diff --git a/include/configs/vme8349.h b/include/configs/vme8349.h
index 0d8ae0b099b6..2456475f27ca 100644
--- a/include/configs/vme8349.h
+++ b/include/configs/vme8349.h
@@ -257,9 +257,6 @@
 #undef PCI_ONE_PCI1
 #endif
 
-#ifndef VME_CADDY2
-#endif
-
 #undef CONFIG_EEPRO100
 #undef CONFIG_TULIP
 
-- 
2.17.0



More information about the U-Boot mailing list