staging: lustre: lnet :socklnd Braces not necessary
authorNilesh Kokane <nilesh.kokane05@gmail.com>
Fri, 23 Oct 2015 05:54:04 +0000 (11:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:57:00 +0000 (18:57 -0700)
Braces not needed for single statement block

Signed-off-by: Nilesh Kokane <Nilesh.Kokane05@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c

index 86e172b2cd77df0e504ada226a6763bf7adbe16d..ecfe7330235031468234c9d040b979067697e1d5 100644 (file)
@@ -2259,9 +2259,8 @@ ksocknal_base_shutdown(void)
        case SOCKNAL_INIT_ALL:
        case SOCKNAL_INIT_DATA:
                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_nets));
                LASSERT(list_empty(&ksocknal_data.ksnd_enomem_conns));