Skip to contentSkip to conversation

Staging: lustre: Removed necessary braces {}

PATCH New Melike Yurtoglu 1 participant 1 message Feb 27, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: Removed necessary braces {}

Deleted {}.Because braces {} are not necessary for single statement blocks

---
 drivers/staging/lustre/lustre/ptlrpc/nrs.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/lustre/lustre/ptlrpc/nrs.c +1 -2
index d5fd721..a9f4bc6 100644
@@ -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;
 
Signature · 1 line
1.8.3.2