diff options
author | Joern Engel <joern@logfs.org> | 2014-09-16 16:23:14 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-10-01 17:39:14 -0400 |
commit | c57010420654aca179c500f61e86315a337244ca (patch) | |
tree | 37fa3def721a2edef3898bb77e2b342de44e6700 /drivers/scsi/qla2xxx | |
parent | f81ccb489a7a641c1bed41b49cf8d72c199c68d5 (diff) |
qla_target: remove unused parameter
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index e632e14180cf..577058e4537f 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c | |||
@@ -401,7 +401,7 @@ static int qlt_reset(struct scsi_qla_host *vha, void *iocb, int mcmd) | |||
401 | #if 0 /* FIXME: Re-enable Global event handling.. */ | 401 | #if 0 /* FIXME: Re-enable Global event handling.. */ |
402 | /* Global event */ | 402 | /* Global event */ |
403 | atomic_inc(&ha->tgt.qla_tgt->tgt_global_resets_count); | 403 | atomic_inc(&ha->tgt.qla_tgt->tgt_global_resets_count); |
404 | qlt_clear_tgt_db(ha->tgt.qla_tgt, 1); | 404 | qlt_clear_tgt_db(ha->tgt.qla_tgt); |
405 | if (!list_empty(&ha->tgt.qla_tgt->sess_list)) { | 405 | if (!list_empty(&ha->tgt.qla_tgt->sess_list)) { |
406 | sess = list_entry(ha->tgt.qla_tgt->sess_list.next, | 406 | sess = list_entry(ha->tgt.qla_tgt->sess_list.next, |
407 | typeof(*sess), sess_list_entry); | 407 | typeof(*sess), sess_list_entry); |
@@ -483,7 +483,7 @@ static void qlt_schedule_sess_for_deletion(struct qla_tgt_sess *sess, | |||
483 | } | 483 | } |
484 | 484 | ||
485 | /* ha->hardware_lock supposed to be held on entry */ | 485 | /* ha->hardware_lock supposed to be held on entry */ |
486 | static void qlt_clear_tgt_db(struct qla_tgt *tgt, bool local_only) | 486 | static void qlt_clear_tgt_db(struct qla_tgt *tgt) |
487 | { | 487 | { |
488 | struct qla_tgt_sess *sess; | 488 | struct qla_tgt_sess *sess; |
489 | 489 | ||
@@ -835,7 +835,7 @@ int qlt_stop_phase1(struct qla_tgt *tgt) | |||
835 | mutex_lock(&vha->vha_tgt.tgt_mutex); | 835 | mutex_lock(&vha->vha_tgt.tgt_mutex); |
836 | spin_lock_irqsave(&ha->hardware_lock, flags); | 836 | spin_lock_irqsave(&ha->hardware_lock, flags); |
837 | tgt->tgt_stop = 1; | 837 | tgt->tgt_stop = 1; |
838 | qlt_clear_tgt_db(tgt, true); | 838 | qlt_clear_tgt_db(tgt); |
839 | spin_unlock_irqrestore(&ha->hardware_lock, flags); | 839 | spin_unlock_irqrestore(&ha->hardware_lock, flags); |
840 | mutex_unlock(&vha->vha_tgt.tgt_mutex); | 840 | mutex_unlock(&vha->vha_tgt.tgt_mutex); |
841 | mutex_unlock(&qla_tgt_mutex); | 841 | mutex_unlock(&qla_tgt_mutex); |