diff options
author | Himanshu Madhani <himanshu.madhani@qlogic.com> | 2014-09-25 06:14:43 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-25 08:25:06 -0400 |
commit | 4d6609c47373ce85ed887ae471b34fb188f9c2b8 (patch) | |
tree | 4dfbf8070440220539ea0380b4c52a9d6ca476a2 /drivers/scsi/qla2xxx | |
parent | 1b5fd56466967d0092ba489e45343d7c3317ed95 (diff) |
qla2xxx: Fix sparse warnings in tcm_qla2xxx.c
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/tcm_qla2xxx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c index e2beab962096..09d2931774f2 100644 --- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c +++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c | |||
@@ -50,8 +50,12 @@ | |||
50 | #include "qla_target.h" | 50 | #include "qla_target.h" |
51 | #include "tcm_qla2xxx.h" | 51 | #include "tcm_qla2xxx.h" |
52 | 52 | ||
53 | struct workqueue_struct *tcm_qla2xxx_free_wq; | 53 | static struct workqueue_struct *tcm_qla2xxx_free_wq; |
54 | struct workqueue_struct *tcm_qla2xxx_cmd_wq; | 54 | static struct workqueue_struct *tcm_qla2xxx_cmd_wq; |
55 | |||
56 | /* Local pointer to allocated TCM configfs fabric module */ | ||
57 | static struct target_fabric_configfs *tcm_qla2xxx_fabric_configfs; | ||
58 | static struct target_fabric_configfs *tcm_qla2xxx_npiv_fabric_configfs; | ||
55 | 59 | ||
56 | /* | 60 | /* |
57 | * Parse WWN. | 61 | * Parse WWN. |
@@ -734,10 +738,6 @@ static void tcm_qla2xxx_aborted_task(struct se_cmd *se_cmd) | |||
734 | cmd->sg_mapped = 0; | 738 | cmd->sg_mapped = 0; |
735 | } | 739 | } |
736 | 740 | ||
737 | /* Local pointer to allocated TCM configfs fabric module */ | ||
738 | struct target_fabric_configfs *tcm_qla2xxx_fabric_configfs; | ||
739 | struct target_fabric_configfs *tcm_qla2xxx_npiv_fabric_configfs; | ||
740 | |||
741 | static void tcm_qla2xxx_clear_sess_lookup(struct tcm_qla2xxx_lport *, | 741 | static void tcm_qla2xxx_clear_sess_lookup(struct tcm_qla2xxx_lport *, |
742 | struct tcm_qla2xxx_nacl *, struct qla_tgt_sess *); | 742 | struct tcm_qla2xxx_nacl *, struct qla_tgt_sess *); |
743 | /* | 743 | /* |