From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 5 Sep 2016 07:02:22 +0200 Subject: [U-Boot] [PATCH] treewide: compress lines for immediate return In-Reply-To: <1472812610-31539-1-git-send-email-yamada.masahiro@socionext.com> References: <1472812610-31539-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <57CCFC5E.4090701@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > [...] > 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 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