diff mbox series

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

Message ID 20180604094523.23876-1-judge.packham@gmail.com
State Accepted
Commit af14d0dd246d11b2731848b74ca05d05dd6be20c
Delegated to: Tom Rini
Headers show
Series [U-Boot,1/3] configs: Remove empty #ifdef/#ifndef blocks | expand

Commit Message

Chris Packham June 4, 2018, 9:45 a.m. UTC
Remove empty #ifdef/#ifndef..#endif blocks where the configuration they
guarded has been completely removed.

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

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

Comments

Tom Rini June 19, 2018, 6:40 p.m. UTC | #1
On Mon, Jun 04, 2018 at 09:45:21PM +1200, Chris Packham wrote:

> Remove empty #ifdef/#ifndef..#endif blocks where the configuration they
> guarded has been completely removed.
> 
> Signed-off-by: Chris Packham <judge.packham@gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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