summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-03-27 00:16:18 +0100
committerWolfgang Denk <wd@denx.de>2008-03-27 00:16:18 +0100
commit0207fefa4dc530dba518abf37c2957915251b416 (patch)
tree5591d431693bf712b9032ce04cae11e8b73a2508
parentd4ee711d8a5c366ee3f857c26b927d12e66614ff (diff)
parentb9e749e95354f33eb5dc6653c6db7d502adb95fe (diff)
downloadu-boot-imx-0207fefa4dc530dba518abf37c2957915251b416.zip
u-boot-imx-0207fefa4dc530dba518abf37c2957915251b416.tar.gz
u-boot-imx-0207fefa4dc530dba518abf37c2957915251b416.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-usb
-rw-r--r--common/usb_storage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c
index 81d2f92..d263b6c 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -196,12 +196,12 @@ int usb_stor_info(void)
for (i = 0; i < usb_max_devs; i++) {
printf (" Device %d: ", i);
dev_print(&usb_dev_desc[i]);
- return 0;
}
- } else {
- printf("No storage devices, perhaps not 'usb start'ed..?\n");
- return 1;
+ return 0;
}
+
+ printf("No storage devices, perhaps not 'usb start'ed..?\n");
+ return 1;
}
/*********************************************************************************