staging: lustre: Remove unnecessary braces {} for single statement blocks
authorPan Li <incarnation.p.lee@outlook.com>
Mon, 27 Jul 2015 05:52:48 +0000 (13:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 22:54:10 +0000 (15:54 -0700)
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>
drivers/staging/lustre/lustre/obdclass/cl_page.c

index 1f6ca7c7978fc7f4fffcf8d53c8942ed59f21ef4..0f3417159fc10798c14cc1fc16e4abc3f91e04d8 100644 (file)
@@ -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);