net/: Remove lingering references to CFG_CMD_* symbols.
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
diff --git a/net/net.c b/net/net.c
index f96eb28..e9d7757 100644
--- a/net/net.c
+++ b/net/net.c
@@ -414,7 +414,7 @@
NetServerIP = getenv_IPaddr ("serverip");
DhcpRequest(); /* Basically same as BOOTP */
break;
-#endif /* CFG_CMD_DHCP */
+#endif
case BOOTP:
BootpTry = 0;
@@ -775,7 +775,7 @@
PingSend();
}
-#endif /* CFG_CMD_PING */
+#endif
#if defined(CONFIG_CMD_CDP)
@@ -1128,7 +1128,7 @@
CDPSendTrigger();
}
-#endif /* CFG_CMD_CDP */
+#endif
void
@@ -1693,7 +1693,7 @@
*dst = '\0';
}
-#endif /* CFG_CMD_NET */
+#endif
void ip_to_string (IPaddr_t x, char *s)
{