diff options
author | Balavasu Kuppusammyprathaban <kp.balavasu@gmail.com> | 2014-11-12 15:42:34 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-22 11:01:21 -0800 |
commit | 3ff28049970d3808b44b1e2116f2ebbb08ffa0df (patch) | |
tree | 55db9b9303fd8d445d840299e458195e4ca90601 /drivers/staging/lustre | |
parent | staging: lustre: libcfs_debug.h: remove final uses of the GOTO macro (diff) | |
download | linux-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.c | 4 |
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); |