mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
scsi: qla2xxx: remove the unused tcm_qla2xxx_cmd_wq
Signed-off-by: Andrei Vagin <avagin@openvz.org> Reviewed-by: Laurence Oberman <loberman@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
b9315530bf
commit
4b83cb8b06
1 changed files with 0 additions and 10 deletions
|
@ -48,7 +48,6 @@
|
|||
#include "tcm_qla2xxx.h"
|
||||
|
||||
static struct workqueue_struct *tcm_qla2xxx_free_wq;
|
||||
static struct workqueue_struct *tcm_qla2xxx_cmd_wq;
|
||||
|
||||
/*
|
||||
* Parse WWN.
|
||||
|
@ -2003,16 +2002,8 @@ static int tcm_qla2xxx_register_configfs(void)
|
|||
goto out_fabric_npiv;
|
||||
}
|
||||
|
||||
tcm_qla2xxx_cmd_wq = alloc_workqueue("tcm_qla2xxx_cmd", 0, 0);
|
||||
if (!tcm_qla2xxx_cmd_wq) {
|
||||
ret = -ENOMEM;
|
||||
goto out_free_wq;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
out_free_wq:
|
||||
destroy_workqueue(tcm_qla2xxx_free_wq);
|
||||
out_fabric_npiv:
|
||||
target_unregister_template(&tcm_qla2xxx_npiv_ops);
|
||||
out_fabric:
|
||||
|
@ -2022,7 +2013,6 @@ static int tcm_qla2xxx_register_configfs(void)
|
|||
|
||||
static void tcm_qla2xxx_deregister_configfs(void)
|
||||
{
|
||||
destroy_workqueue(tcm_qla2xxx_cmd_wq);
|
||||
destroy_workqueue(tcm_qla2xxx_free_wq);
|
||||
|
||||
target_unregister_template(&tcm_qla2xxx_ops);
|
||||
|
|
Loading…
Reference in a new issue