mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user