]> git.sur5r.net Git - u-boot/blobdiff - common/usb_storage.c
POST: replace the LOGBUFF_INITIALIZED flag in gd->post_log_word (1 << 31) with the...
[u-boot] / common / usb_storage.c
index 81d2f92100eb54686f9a3f030ca7f851b4ff8fc5..7c08f957752a34e7d8a973f3a2836093439a4be1 100644 (file)
@@ -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;
 }
 
 /*********************************************************************************