Commit df5ddcc9 authored by Nilesh Kokane's avatar Nilesh Kokane Committed by Greg Kroah-Hartman

staging: lustre: lnet :socklnd Braces not necessary

Braces not needed for single statement block
Signed-off-by: default avatarNilesh Kokane <Nilesh.Kokane05@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent daa4d3ea
...@@ -2259,9 +2259,8 @@ ksocknal_base_shutdown(void) ...@@ -2259,9 +2259,8 @@ ksocknal_base_shutdown(void)
case SOCKNAL_INIT_ALL: case SOCKNAL_INIT_ALL:
case SOCKNAL_INIT_DATA: case SOCKNAL_INIT_DATA:
LASSERT(ksocknal_data.ksnd_peers != NULL); LASSERT(ksocknal_data.ksnd_peers != NULL);
for (i = 0; i < ksocknal_data.ksnd_peer_hash_size; i++) { for (i = 0; i < ksocknal_data.ksnd_peer_hash_size; i++)
LASSERT(list_empty(&ksocknal_data.ksnd_peers[i])); LASSERT(list_empty(&ksocknal_data.ksnd_peers[i]));
}
LASSERT(list_empty(&ksocknal_data.ksnd_nets)); LASSERT(list_empty(&ksocknal_data.ksnd_nets));
LASSERT(list_empty(&ksocknal_data.ksnd_enomem_conns)); LASSERT(list_empty(&ksocknal_data.ksnd_enomem_conns));
......
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