aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrikrishan Malik <srikrishanmalik@gmail.com>2014-08-11 23:57:38 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-16 12:23:18 -0700
commiteb44520b3ad9407704dd111c9acd48911c83beba (patch)
treeb8e6b80e4a709cb0a985aa5ae02c3e04d80ecd01
parentstaging: lustre: move else on the same line as closing brace (diff)
staging: lustre: remove parentheses usage with return
Fix the following checkpatch error: ERROR: return is not a function, parentheses are not required Signed-off-by: Srikrishan Malik <srikrishanmalik@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/mdc/mdc_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/mdc/mdc_request.c b/drivers/staging/lustre/lustre/mdc/mdc_request.c
index ffe9e3dd74e6..57f4952f6391 100644
--- a/drivers/staging/lustre/lustre/mdc/mdc_request.c
+++ b/drivers/staging/lustre/lustre/mdc/mdc_request.c
@@ -2588,7 +2588,7 @@ static int mdc_process_config(struct obd_device *obd, obd_count len, void *buf)
rc = 0;
break;
}
- return(rc);
+ return rc;
}