diff options
author | Pan Li <incarnation.p.lee@outlook.com> | 2015-07-27 13:52:48 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-31 15:54:10 -0700 |
commit | 585d84b4838ac061f935b5d5c84550ec9f5dee82 (patch) | |
tree | c425bef57b300a546e80cea78f6268d9850fbb57 /drivers/staging/lustre | |
parent | 437dffebadd5cf22403505528f35b0c1b3aa34e2 (diff) | |
download | linux-585d84b4838ac061f935b5d5c84550ec9f5dee82.tar.bz2 |
staging: lustre: Remove unnecessary braces {} for single statement blocks
Remove unnecessary braces {} for single line statement blocks.
Signed-off-by: Pan Li <incarnation.p.lee@outlook.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r-- | drivers/staging/lustre/lustre/obdclass/cl_page.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |