Commit 3f3af378 authored by samuel kihahu's avatar samuel kihahu Committed by Greg Kroah-Hartman

staging: lustre: cleanup align switch and case

Align switch and case to be at the same indent.
Signed-off-by: default avatarSamuel Kihahu <skihahu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3b66ea43
...@@ -61,31 +61,31 @@ lnet_selftest_fini(void) ...@@ -61,31 +61,31 @@ lnet_selftest_fini(void)
int i; int i;
switch (lst_init_step) { switch (lst_init_step) {
case LST_INIT_CONSOLE: case LST_INIT_CONSOLE:
lstcon_console_fini(); lstcon_console_fini();
case LST_INIT_FW: case LST_INIT_FW:
sfw_shutdown(); sfw_shutdown();
case LST_INIT_RPC: case LST_INIT_RPC:
srpc_shutdown(); srpc_shutdown();
case LST_INIT_WI_TEST: case LST_INIT_WI_TEST:
for (i = 0; for (i = 0;
i < cfs_cpt_number(lnet_cpt_table()); i++) { i < cfs_cpt_number(lnet_cpt_table()); i++) {
if (lst_sched_test[i] == NULL) if (lst_sched_test[i] == NULL)
continue; continue;
cfs_wi_sched_destroy(lst_sched_test[i]); cfs_wi_sched_destroy(lst_sched_test[i]);
} }
LIBCFS_FREE(lst_sched_test, LIBCFS_FREE(lst_sched_test,
sizeof(lst_sched_test[0]) * sizeof(lst_sched_test[0]) *
cfs_cpt_number(lnet_cpt_table())); cfs_cpt_number(lnet_cpt_table()));
lst_sched_test = NULL; lst_sched_test = NULL;
case LST_INIT_WI_SERIAL: case LST_INIT_WI_SERIAL:
cfs_wi_sched_destroy(lst_sched_serial); cfs_wi_sched_destroy(lst_sched_serial);
lst_sched_serial = NULL; lst_sched_serial = NULL;
case LST_INIT_NONE: case LST_INIT_NONE:
break; break;
default: default:
LBUG(); LBUG();
} }
return; return;
} }
......
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