call getopt_reset only once
commit63e01b4969c9eef70b45df279f43a786b0cb2c09
authorSascha Hauer <sha@pengutronix.de>
Sat, 17 Oct 2009 10:49:47 +0000 (17 12:49 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 19 Oct 2009 08:18:52 +0000 (19 10:18 +0200)
treee032002d8e78e631b00572cf4937b9c72c651d47
parent87e01f28ccc85474e18e1218c9d84f98e2e8977d
call getopt_reset only once

instead of calling getopt_reset in each command,
call it only once before calling the command.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
12 files changed:
arch/arm/mach-imx/clko.c
commands/bmp.c
commands/bootm.c
commands/crc.c
commands/dfu.c
commands/loadb.c
commands/ls.c
commands/mem.c
commands/mkdir.c
commands/nand.c
commands/timeout.c
common/command.c