Staging: lustre: Removed necessary braces {}
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Fri, 27 Feb 2015 20:55:50 +0000 (22:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:37:41 +0000 (16:37 -0800)
Deleted {}.Because braces {} are not necessary for single statement
blocks

Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/nrs.c

index 371af9c7ba89c48ca9b87087afd16474cf1240c9..81ad7473242eda90394aa7bc432fb6ab5574948c 100644 (file)
@@ -155,9 +155,8 @@ static void nrs_policy_stop_primary(struct ptlrpc_nrs *nrs)
 {
        struct ptlrpc_nrs_policy *tmp = nrs->nrs_policy_primary;
 
-       if (tmp == NULL) {
+       if (tmp == NULL)
                return;
-       }
 
        nrs->nrs_policy_primary = NULL;