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>
This commit is contained in:
parent
71583c3ef0
commit
3ff2804997
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue