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

Masahiro Yamada yamada.masahiro at socionext.com
Fri Sep 2 15:09:55 CEST 2016


2016-09-02 20:58 GMT+09:00 Marek Vasut <marex at denx.de>:
> 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 ?
>

I thought the benefit was apparent.

Wasn't it to you?



-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list