summaryrefslogtreecommitdiffstats
path: root/commands/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/nand.c')
-rw-r--r--commands/nand.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/nand.c b/commands/nand.c
index acec327dcd..b690966f65 100644
--- a/commands/nand.c
+++ b/commands/nand.c
@@ -271,8 +271,6 @@ static int do_nand(cmd_tbl_t *cmdtp, int argc, char *argv[])
struct nand_bb *bb;
int command = 0, badblock = 0;
- getopt_reset();
-
while((opt = getopt(argc, argv, "adb:")) > 0) {
if (command) {
printf("only one command may be given\n");