From: Pan Li Date: Mon, 27 Jul 2015 05:52:48 +0000 (+0800) Subject: staging: lustre: Remove unnecessary braces {} for single statement blocks X-Git-Tag: v4.3-rc1~158^2~337 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=585d84b4838ac061f935b5d5c84550ec9f5dee82;p=karo-tx-linux.git staging: lustre: Remove unnecessary braces {} for single statement blocks Remove unnecessary braces {} for single line statement blocks. Signed-off-by: Pan Li Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c b/drivers/staging/lustre/lustre/obdclass/cl_page.c index 1f6ca7c7978f..0f3417159fc1 100644 --- a/drivers/staging/lustre/lustre/obdclass/cl_page.c +++ b/drivers/staging/lustre/lustre/obdclass/cl_page.c @@ -376,9 +376,8 @@ static struct cl_page *cl_page_find0(const struct lu_env *env, idx) == page)); } - if (page != NULL) { + if (page != NULL) return page; - } /* allocate and initialize cl_page */ page = cl_page_alloc(env, o, idx, vmpage, type);