From: Sun Wang Date: Mon, 1 Sep 2014 04:27:25 +0000 (+0800) Subject: staging: lustre: lustre: mdc: mdc_reint: fix coding style issue X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=22403d9eae75ae0f86c92b9f0a8bda1aa2e069e3;p=linux-beck.git staging: lustre: lustre: mdc: mdc_reint: fix coding style issue Coding style issues, the changes include: -Remove '{}' Signed-off-by: Sun Wang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/mdc/mdc_reint.c b/drivers/staging/lustre/lustre/mdc/mdc_reint.c index 01af30ac1a52..5e9c6296c39d 100644 --- a/drivers/staging/lustre/lustre/mdc/mdc_reint.c +++ b/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; }