scst_tg: Convert dynamic into static initialization

This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-17 00:07:20 +00:00
parent 250faea985
commit 4b9efe2090

View File

@@ -38,7 +38,7 @@ static const struct alua_state_and_name scst_tg_state_names[] = {
{ SCST_TG_STATE_TRANSITIONING, "transitioning" },
};
static struct list_head scst_dev_group_list;
static LIST_HEAD(scst_dev_group_list);
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31) || \
defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
@@ -1092,7 +1092,6 @@ out:
void scst_tg_init(void)
{
INIT_LIST_HEAD(&scst_dev_group_list);
}
void scst_tg_cleanup(void)