staging: lustre: lustre: mdc: mdc_reint: fix coding style issue
authorSun Wang <sunwxg@gmail.com>
Mon, 1 Sep 2014 04:27:25 +0000 (12:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 17:29:51 +0000 (10:29 -0700)
Coding style issues, the changes include:
-Remove '{}'

Signed-off-by: Sun Wang <sunwxg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_reint.c

index 01af30a..5e9c629 100644 (file)
@@ -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;
 }