]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
tcm_qla2xxx: tcm_qla2xxx_handle_tmr() can be static
authorRoland Dreier <roland@purestorage.com>
Tue, 12 Jun 2012 01:31:30 +0000 (18:31 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Jun 2012 03:15:43 +0000 (20:15 -0700)
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/tcm_qla2xxx.c

index acc3b1151c4fec26bc44dfa174125828e1a1e353..2f12c092133427b4d47a97a11401407570cc030b 100644 (file)
@@ -652,8 +652,8 @@ static int tcm_qla2xxx_handle_data(struct qla_tgt_cmd *cmd)
 /*
  * Called from qla_target.c:qlt_issue_task_mgmt()
  */
-int tcm_qla2xxx_handle_tmr(struct qla_tgt_mgmt_cmd *mcmd, uint32_t lun,
-                       uint8_t tmr_func, uint32_t tag)
+static int tcm_qla2xxx_handle_tmr(struct qla_tgt_mgmt_cmd *mcmd, uint32_t lun,
+       uint8_t tmr_func, uint32_t tag)
 {
        struct qla_tgt_sess *sess = mcmd->sess;
        struct se_cmd *se_cmd = &mcmd->se_cmd;