staging: lustre: lustre: ptlrpc: Remove unnecessary braces
authorBalavasu Kuppusammyprathaban <kp.balavasu@gmail.com>
Wed, 12 Nov 2014 10:12:34 +0000 (15:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Nov 2014 19:01:21 +0000 (11:01 -0800)
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>
drivers/staging/lustre/lustre/ptlrpc/client.c

index 38cc931a189c32cdf04afc584a86cd314208509b..6c8815f4b99b318ccf5f759758eb4e78fee9d8a7 100644 (file)
@@ -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);
This page took 0.026201 seconds and 5 git commands to generate.