summaryrefslogtreecommitdiffstats
path: root/commands/dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/dfu.c')
-rw-r--r--commands/dfu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/dfu.c b/commands/dfu.c
index d35b129651..fae77021c0 100644
--- a/commands/dfu.c
+++ b/commands/dfu.c
@@ -105,7 +105,6 @@ static int do_dfu(cmd_tbl_t *cmdtp, int argc, char *argv[])
char *productname = CONFIG_BOARDINFO;
u16 idVendor = 0, idProduct = 0;
- getopt_reset();
while((opt = getopt(argc, argv, "m:p:V:P:")) > 0) {
switch(opt) {