Commit 585d84b4 authored by Pan Li's avatar Pan Li Committed by Greg Kroah-Hartman

staging: lustre: Remove unnecessary braces {} for single statement blocks

Remove unnecessary braces {} for single line statement blocks.
Signed-off-by: default avatarPan Li <incarnation.p.lee@outlook.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 437dffeb
...@@ -376,9 +376,8 @@ static struct cl_page *cl_page_find0(const struct lu_env *env, ...@@ -376,9 +376,8 @@ static struct cl_page *cl_page_find0(const struct lu_env *env,
idx) == page)); idx) == page));
} }
if (page != NULL) { if (page != NULL)
return page; return page;
}
/* allocate and initialize cl_page */ /* allocate and initialize cl_page */
page = cl_page_alloc(env, o, idx, vmpage, type); page = cl_page_alloc(env, o, idx, vmpage, type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment