mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-16 22:51:32 +00:00
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)
|
||||
{
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user