aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorBalavasu Kuppusammyprathaban <kp.balavasu@gmail.com>2014-11-12 15:42:34 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-22 11:01:21 -0800
commit3ff28049970d3808b44b1e2116f2ebbb08ffa0df (patch)
tree55db9b9303fd8d445d840299e458195e4ca90601 /drivers/staging/lustre
parentstaging: lustre: libcfs_debug.h: remove final uses of the GOTO macro (diff)
downloadlinux-dev-3ff28049970d3808b44b1e2116f2ebbb08ffa0df.tar.xz
linux-dev-3ff28049970d3808b44b1e2116f2ebbb08ffa0df.zip
staging: lustre: lustre: ptlrpc: Remove unnecessary braces
Fixes the following checkpatch warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Balavasu Kuppusammyprathaban <kp.balavasu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/client.c b/drivers/staging/lustre/lustre/ptlrpc/client.c
index 38cc931a189c..6c8815f4b99b 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/client.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/client.c
@@ -2215,10 +2215,8 @@ EXPORT_SYMBOL(ptlrpc_set_wait);
*/
static void __ptlrpc_free_req(struct ptlrpc_request *request, int locked)
{
- if (request == NULL) {
+ if (request == NULL)
return;
- }
-
LASSERTF(!request->rq_receiving_reply, "req %p\n", request);
LASSERTF(request->rq_rqbd == NULL, "req %p\n", request);/* client-side */
LASSERTF(list_empty(&request->rq_list), "req %p\n", request);