Browse Source

staging: lustre: lustre: mdc: mdc_reint: fix coding style issue

Coding style issues, the changes include:
-Remove '{}'

Signed-off-by: Sun Wang <sunwxg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun Wang 11 years ago
parent
commit
22403d9eae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/lustre/lustre/mdc/mdc_reint.c

+ 2 - 2
drivers/staging/lustre/lustre/mdc/mdc_reint.c

@@ -57,9 +57,9 @@ static int mdc_reint(struct ptlrpc_request *request,
 	mdc_put_rpc_lock(rpc_lock, NULL);
 	if (rc)
 		CDEBUG(D_INFO, "error in handling %d\n", rc);
-	else if (!req_capsule_server_get(&request->rq_pill, &RMF_MDT_BODY)) {
+	else if (!req_capsule_server_get(&request->rq_pill, &RMF_MDT_BODY))
 		rc = -EPROTO;
-	}
+
 	return rc;
 }