diff mbox

[U-Boot,2/7] sunxi-common.h: Remove dead #ifdef CONFIG_CMD_NET code block

Message ID 1406879207-12322-2-git-send-email-hdegoede@redhat.com
State Accepted
Delegated to: Hans de Goede
Headers show

Commit Message

Hans de Goede Aug. 1, 2014, 7:46 a.m. UTC
We undef CONFIG_CMD_NET at line 167, and there is nothing re-defining it
between line 167 and the #ifdef CONFIG_CMD_NET, so remove this effectively
dead block.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 include/configs/sunxi-common.h | 8 --------
 1 file changed, 8 deletions(-)

Comments

Ian Campbell Aug. 4, 2014, 9:19 p.m. UTC | #1
On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote:
> We undef CONFIG_CMD_NET at line 167, and there is nothing re-defining it
> between line 167 and the #ifdef CONFIG_CMD_NET, so remove this effectively
> dead block.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Acked-by: Ian Campbell <ijc@hellion.org.uk>
diff mbox

Patch

diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index e3dc9c4..9d4801a 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -205,14 +205,6 @@ 
 #define CONFIG_PHYLIB
 #endif
 
-#ifdef CONFIG_CMD_NET
-#define CONFIG_CMD_NFS
-#define CONFIG_CMD_DNS
-#define CONFIG_NETCONSOLE
-#define CONFIG_BOOTP_DNS2
-#define CONFIG_BOOTP_SEND_HOSTNAME
-#endif
-
 #ifdef CONFIG_USB_EHCI
 #define CONFIG_CMD_USB
 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1