scst: Remove the unused variable scst_main_lock

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5142 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-12-14 05:51:37 +00:00
parent 98a22c124e
commit ea4a132a4b
2 changed files with 0 additions and 5 deletions

View File

@@ -95,8 +95,6 @@ struct list_head scst_dev_list;
struct list_head scst_dev_type_list;
struct list_head scst_virtual_dev_type_list;
spinlock_t scst_main_lock;
static struct kmem_cache *scst_mgmt_cachep;
mempool_t *scst_mgmt_mempool;
static struct kmem_cache *scst_mgmt_stub_cachep;
@@ -2425,7 +2423,6 @@ static int __init init_scst(void)
INIT_LIST_HEAD(&scst_dev_list);
INIT_LIST_HEAD(&scst_dev_type_list);
INIT_LIST_HEAD(&scst_virtual_dev_type_list);
spin_lock_init(&scst_main_lock);
#ifdef CONFIG_SCST_PROC
INIT_LIST_HEAD(&scst_acg_list);
#endif

View File

@@ -142,8 +142,6 @@ extern struct kmem_cache *scst_tgt_cachep;
extern struct kmem_cache *scst_tgtd_cachep;
extern struct kmem_cache *scst_acgd_cachep;
extern spinlock_t scst_main_lock;
extern unsigned long scst_flags;
extern struct list_head scst_template_list;
extern struct list_head scst_dev_list;