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