From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] treewide: compress lines for immediate return
Date: Mon, 5 Sep 2016 07:02:22 +0200 [thread overview]
Message-ID: <57CCFC5E.4090701@denx.de> (raw)
In-Reply-To: <1472812610-31539-1-git-send-email-yamada.masahiro@socionext.com>
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@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@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
next prev parent reply other threads:[~2016-09-05 5:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-02 10:36 [U-Boot] [PATCH] treewide: compress lines for immediate return Masahiro Yamada
2016-09-02 11:58 ` Marek Vasut
2016-09-02 13:09 ` Masahiro Yamada
2016-09-02 14:12 ` Marek Vasut
2016-09-03 23:38 ` Masahiro Yamada
2016-09-04 1:16 ` Marek Vasut
2016-09-02 17:15 ` Stephen Warren
2016-09-03 23:38 ` Masahiro Yamada
2016-09-06 16:09 ` Stephen Warren
2016-09-07 1:14 ` Masahiro Yamada
2016-09-05 5:02 ` Heiko Schocher [this message]
2016-09-06 9:25 ` Stefano Babic
2016-09-07 0:56 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57CCFC5E.4090701@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.