[U-Boot] [PATCH] treewide: compress lines for immediate return

Marek Vasut marex at denx.de
Fri Sep 2 13:58:17 CEST 2016


On 09/02/2016 12:36 PM, Masahiro Yamada wrote:
>   -ret = expression;
>   -if (ret)
>   -        return ret;
>   -return 0;
>   +return expression;
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---

The thing I miss in the commit message is -- why is this change
beneficial/needed ?

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list