aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>2015-02-27 22:55:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-01 16:37:41 -0800
commit39c09ce258dc5a4b8def5aad89680339a8888f03 (patch)
treefb4df351fe2bfc2743863c59ae401bbafd3ab877
parentStaging: lustre: lnet: selftest: Remove space after the name of that function (diff)
Staging: lustre: Removed necessary braces {}
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>
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/nrs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/nrs.c b/drivers/staging/lustre/lustre/ptlrpc/nrs.c
index 371af9c7ba89..81ad7473242e 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/nrs.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/nrs.c
@@ -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;