Commit 3ff28049 authored by Balavasu Kuppusammyprathaban's avatar Balavasu Kuppusammyprathaban Committed by Greg Kroah-Hartman

staging: lustre: lustre: ptlrpc: Remove unnecessary braces

Fixes the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: default avatarBalavasu Kuppusammyprathaban <kp.balavasu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 71583c3e
...@@ -2215,10 +2215,8 @@ EXPORT_SYMBOL(ptlrpc_set_wait); ...@@ -2215,10 +2215,8 @@ EXPORT_SYMBOL(ptlrpc_set_wait);
*/ */
static void __ptlrpc_free_req(struct ptlrpc_request *request, int locked) static void __ptlrpc_free_req(struct ptlrpc_request *request, int locked)
{ {
if (request == NULL) { if (request == NULL)
return; return;
}
LASSERTF(!request->rq_receiving_reply, "req %p\n", request); LASSERTF(!request->rq_receiving_reply, "req %p\n", request);
LASSERTF(request->rq_rqbd == NULL, "req %p\n", request);/* client-side */ LASSERTF(request->rq_rqbd == NULL, "req %p\n", request);/* client-side */
LASSERTF(list_empty(&request->rq_list), "req %p\n", request); LASSERTF(list_empty(&request->rq_list), "req %p\n", request);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment