diff options
author | James Simmons <jsimmons@infradead.org> | 2016-02-12 12:06:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-14 16:20:32 -0800 |
commit | 06f2f2f2bb64a299afa626c0c28539cecbf9fc8b (patch) | |
tree | fc36d611bafae6887759620f1b5b92c211c6e76b /drivers/staging/lustre/lnet/selftest/selftest.h | |
parent | b31e64c4a106cc70e8aab168a6fb12b4e2be4647 (diff) | |
download | linux-06f2f2f2bb64a299afa626c0c28539cecbf9fc8b.tar.bz2 |
staging: lustre: balance braces properly in LNet layer
Properly balance the braces done wrong as reported by
checkpatch.pl.
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/selftest.h')
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/selftest.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/selftest.h b/drivers/staging/lustre/lnet/selftest/selftest.h index 5c299d6aa2ce..906e26abcd0e 100644 --- a/drivers/staging/lustre/lnet/selftest/selftest.h +++ b/drivers/staging/lustre/lnet/selftest/selftest.h @@ -508,11 +508,10 @@ srpc_destroy_client_rpc(srpc_client_rpc_t *rpc) LASSERT(!srpc_event_pending(rpc)); LASSERT(atomic_read(&rpc->crpc_refcount) == 0); - if (rpc->crpc_fini == NULL) { + if (rpc->crpc_fini == NULL) LIBCFS_FREE(rpc, srpc_client_rpc_size(rpc)); - } else { + else (*rpc->crpc_fini) (rpc); - } return; } |