summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/dhcp.c1
-rw-r--r--net/ping.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/net/dhcp.c b/net/dhcp.c
index cc2b78fba2..9a66dfbcef 100644
--- a/net/dhcp.c
+++ b/net/dhcp.c
@@ -609,7 +609,6 @@ static int do_dhcp (cmd_tbl_t *cmdtp, int argc, char *argv[])
}
U_BOOT_CMD_START(dhcp)
- .maxargs = 1,
.cmd = do_dhcp,
.usage = "invoke dhcp client to obtain ip/boot params",
U_BOOT_CMD_END
diff --git a/net/ping.c b/net/ping.c
index 3336292fc4..6c6b0693e4 100644
--- a/net/ping.c
+++ b/net/ping.c
@@ -104,7 +104,6 @@ int do_ping (cmd_tbl_t *cmdtp, int argc, char *argv[])
}
U_BOOT_CMD_START(ping)
- .maxargs = 2,
.cmd = do_ping,
.usage = "ping <destination>",
U_BOOT_CMD_END