[U-Boot] [PATCH] treewide: compress lines for immediate return
Heiko Schocher
hs at denx.de
Mon Sep 5 07:02:22 CEST 2016
Hello Masahiro,
Am 02.09.2016 um 12:36 schrieb Masahiro Yamada:
> -ret = expression;
> -if (ret)
> - return ret;
> -return 0;
> +return expression;
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
[...]
> fs/ubifs/budget.c | 7 ++-----
> fs/ubifs/gc.c | 5 +----
> fs/ubifs/lpt_commit.c | 5 +----
> fs/ubifs/ubifs.c | 6 +-----
Thanks!
Acked-by: Heiko Schocher <hs at denx.de>
As the ubifs code comes from linux, I posted the parts for the
ubifs on the linux-mtd mailinglist.
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list