]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_eeprom.c
cmd_usage(): simplify return code handling
[karo-tx-uboot.git] / common / cmd_eeprom.c
index 129162c015108c1b82066ff473e9c9cd67f1c8ad..9f4b22c553ab3f6c114fc1b2c1cdb0c9a07d3021 100644 (file)
@@ -104,8 +104,7 @@ int do_eeprom ( cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
                }
        }
 
-       cmd_usage(cmdtp);
-       return 1;
+       return cmd_usage(cmdtp);
 }
 #endif