summaryrefslogtreecommitdiffstats
path: root/common/cmd_usb.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-08-02 17:06:17 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-08-02 17:06:17 +0200
commit095b8a3798f1c6cd618092899e783dc2ee0d23f5 (patch)
tree397887e662586728029560b27873451b4547c430 /common/cmd_usb.c
parent797638f9ff2dc8e57f7bf57bfaa83d60e0784ea0 (diff)
downloadtalos-obmc-uboot-095b8a3798f1c6cd618092899e783dc2ee0d23f5.tar.gz
talos-obmc-uboot-095b8a3798f1c6cd618092899e783dc2ee0d23f5.zip
Coding style cleanup
Diffstat (limited to 'common/cmd_usb.c')
-rw-r--r--common/cmd_usb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index 3af8619428..0738f55303 100644
--- a/common/cmd_usb.c
+++ b/common/cmd_usb.c
@@ -455,9 +455,8 @@ int do_usb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
i = usb_init();
#ifdef CONFIG_USB_STORAGE
/* try to recognize storage devices immediately */
- if (i >= 0)
+ if (i >= 0)
usb_stor_curr_dev = usb_stor_scan(1);
-
#endif
return 0;
}
OpenPOWER on IntegriCloud