staging: lustre: cleanup align switch and case
authorsamuel kihahu <skihahu@gmail.com>
Tue, 23 Dec 2014 12:04:14 +0000 (15:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 23:46:22 +0000 (15:46 -0800)
Align switch and case to be at the same indent.

Signed-off-by: Samuel Kihahu <skihahu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/module.c

index c6ef5b0d8de1050a67da61e02a0e8bbc728fec17..faf4098023726a073f959f06887fe35ccb4b778c 100644 (file)
@@ -61,31 +61,31 @@ lnet_selftest_fini(void)
        int     i;
 
        switch (lst_init_step) {
-               case LST_INIT_CONSOLE:
-                       lstcon_console_fini();
-               case LST_INIT_FW:
-                       sfw_shutdown();
-               case LST_INIT_RPC:
-                       srpc_shutdown();
-               case LST_INIT_WI_TEST:
-                       for (i = 0;
-                            i < cfs_cpt_number(lnet_cpt_table()); i++) {
-                               if (lst_sched_test[i] == NULL)
-                                       continue;
-                               cfs_wi_sched_destroy(lst_sched_test[i]);
-                       }
-                       LIBCFS_FREE(lst_sched_test,
-                                   sizeof(lst_sched_test[0]) *
-                                   cfs_cpt_number(lnet_cpt_table()));
-                       lst_sched_test = NULL;
-
-               case LST_INIT_WI_SERIAL:
-                       cfs_wi_sched_destroy(lst_sched_serial);
-                       lst_sched_serial = NULL;
-               case LST_INIT_NONE:
-                       break;
-               default:
-                       LBUG();
+       case LST_INIT_CONSOLE:
+               lstcon_console_fini();
+       case LST_INIT_FW:
+               sfw_shutdown();
+       case LST_INIT_RPC:
+               srpc_shutdown();
+       case LST_INIT_WI_TEST:
+               for (i = 0;
+                    i < cfs_cpt_number(lnet_cpt_table()); i++) {
+                       if (lst_sched_test[i] == NULL)
+                               continue;
+                       cfs_wi_sched_destroy(lst_sched_test[i]);
+               }
+               LIBCFS_FREE(lst_sched_test,
+                           sizeof(lst_sched_test[0]) *
+                           cfs_cpt_number(lnet_cpt_table()));
+               lst_sched_test = NULL;
+
+       case LST_INIT_WI_SERIAL:
+               cfs_wi_sched_destroy(lst_sched_serial);
+               lst_sched_serial = NULL;
+       case LST_INIT_NONE:
+               break;
+       default:
+               LBUG();
        }
        return;
 }