>  {
>       cmd_tbl_t *c;
> 
> +     if (argc < 2) {
> +             cmd_usage(cmdtp);
> +             return 1;
> +     }
> +

Wolfgang recently made cmd_usage() return 1 so the above could be
simplified to:
if (argc < 2)
        return cmd_usage(cmdtp);

Best,
Peter

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to