|
|
3c6e85 |
From 55a16a2dafb7ae62943b6ab88e19bcd0a41ecc4b Mon Sep 17 00:00:00 2001
|
|
|
3c6e85 |
From: Himanshu Madhani <hmadhani@redhat.com>
|
|
|
3c6e85 |
Date: Thu, 1 Aug 2019 15:55:41 -0400
|
|
|
3c6e85 |
Subject: [PATCH 081/124] [scsi] scsi: qla2xxx: Remove a set-but-not-used
|
|
|
3c6e85 |
variable
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Message-id: <20190801155618.12650-82-hmadhani@redhat.com>
|
|
|
3c6e85 |
Patchwork-id: 267859
|
|
|
3c6e85 |
O-Subject: [RHEL 7.8 e-stor PATCH 081/118] scsi: qla2xxx: Remove a set-but-not-used variable
|
|
|
3c6e85 |
Bugzilla: 1729270
|
|
|
3c6e85 |
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
|
|
3c6e85 |
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
|
|
|
3c6e85 |
|
|
|
3c6e85 |
From: Bart Van Assche <bvanassche@acm.org>
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Bugzilla 1729270
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Cc: Himanshu Madhani <hmadhani@marvell.com>
|
|
|
3c6e85 |
Cc: Giridhar Malavali <gmalavali@marvell.com>
|
|
|
3c6e85 |
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
|
|
|
3c6e85 |
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
|
|
|
3c6e85 |
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|
|
|
3c6e85 |
(cherry picked from commit 6eaa5f9448a7e0fb6bfecf17f47ce9f186d1e264)
|
|
|
3c6e85 |
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
|
|
|
3c6e85 |
Signed-off-by: Jan Stancek <jstancek@redhat.com>
|
|
|
3c6e85 |
---
|
|
|
3c6e85 |
drivers/scsi/qla2xxx/qla_iocb.c | 2 --
|
|
|
3c6e85 |
1 file changed, 2 deletions(-)
|
|
|
3c6e85 |
|
|
|
3c6e85 |
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c
|
|
|
3c6e85 |
index 7f0b3dd5d815..a1289b70a359 100644
|
|
|
3c6e85 |
--- a/drivers/scsi/qla2xxx/qla_iocb.c
|
|
|
3c6e85 |
+++ b/drivers/scsi/qla2xxx/qla_iocb.c
|
|
|
3c6e85 |
@@ -3044,7 +3044,6 @@ qla2x00_ct_iocb(srb_t *sp, ms_iocb_entry_t *ct_iocb)
|
|
|
3c6e85 |
scsi_qla_host_t *vha = sp->vha;
|
|
|
3c6e85 |
struct qla_hw_data *ha = vha->hw;
|
|
|
3c6e85 |
struct fc_bsg_job *bsg_job = sp->u.bsg_job;
|
|
|
3c6e85 |
- int loop_iterartion = 0;
|
|
|
3c6e85 |
int entry_count = 1;
|
|
|
3c6e85 |
|
|
|
3c6e85 |
memset(ct_iocb, 0, sizeof(ms_iocb_entry_t));
|
|
|
3c6e85 |
@@ -3102,7 +3101,6 @@ qla2x00_ct_iocb(srb_t *sp, ms_iocb_entry_t *ct_iocb)
|
|
|
3c6e85 |
*cur_dsd++ = cpu_to_le32(LSD(sle_dma));
|
|
|
3c6e85 |
*cur_dsd++ = cpu_to_le32(MSD(sle_dma));
|
|
|
3c6e85 |
*cur_dsd++ = cpu_to_le32(sg_dma_len(sg));
|
|
|
3c6e85 |
- loop_iterartion++;
|
|
|
3c6e85 |
avail_dsds--;
|
|
|
3c6e85 |
}
|
|
|
3c6e85 |
ct_iocb->entry_count = entry_count;
|
|
|
3c6e85 |
--
|
|
|
3c6e85 |
2.13.6
|
|
|
3c6e85 |
|