From 22403d9eae75ae0f86c92b9f0a8bda1aa2e069e3 Mon Sep 17 00:00:00 2001 From: Sun Wang Date: Mon, 1 Sep 2014 12:27:25 +0800 Subject: [PATCH] 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 --- drivers/staging/lustre/lustre/mdc/mdc_reint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.30.2