Blame SOURCES/0095-scsi-scsi-qla2xxx-Remove-a-set-but-not-used-variable.patch

3c6e85
From 2fa2b6f1ce7650c17ce52d79a2da5c60f97d206a Mon Sep 17 00:00:00 2001
3c6e85
From: Himanshu Madhani <hmadhani@redhat.com>
3c6e85
Date: Thu, 1 Aug 2019 15:55:55 -0400
3c6e85
Subject: [PATCH 095/124] [scsi] scsi: qla2xxx: Remove a set-but-not-used
3c6e85
 variable
3c6e85
3c6e85
Message-id: <20190801155618.12650-96-hmadhani@redhat.com>
3c6e85
Patchwork-id: 267870
3c6e85
O-Subject: [RHEL 7.8 e-stor PATCH 095/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
This patch does not change any functionality.
3c6e85
3c6e85
Cc: Himanshu Madhani <himanshu.madhani@cavium.com>
3c6e85
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
3c6e85
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
3c6e85
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
3c6e85
(cherry picked from commit eb023220f4eac1703e22e48ed62310a6565b3a1f)
3c6e85
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
3c6e85
Signed-off-by: Jan Stancek <jstancek@redhat.com>
3c6e85
---
3c6e85
 drivers/scsi/qla2xxx/qla_os.c | 4 ++--
3c6e85
 1 file changed, 2 insertions(+), 2 deletions(-)
3c6e85
3c6e85
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
3c6e85
index bf0896af5ad3..da093e59768b 100644
3c6e85
--- a/drivers/scsi/qla2xxx/qla_os.c
3c6e85
+++ b/drivers/scsi/qla2xxx/qla_os.c
3c6e85
@@ -1804,7 +1804,7 @@ qla2x00_loop_reset(scsi_qla_host_t *vha)
3c6e85
 static void
3c6e85
 __qla2x00_abort_all_cmds(struct qla_qpair *qp, int res)
3c6e85
 {
3c6e85
-	int cnt, status;
3c6e85
+	int cnt;
3c6e85
 	unsigned long flags;
3c6e85
 	srb_t *sp;
3c6e85
 	scsi_qla_host_t *vha = qp->vha;
3c6e85
@@ -1854,7 +1854,7 @@ __qla2x00_abort_all_cmds(struct qla_qpair *qp, int res)
3c6e85
 					if (!sp_get(sp)) {
3c6e85
 						spin_unlock_irqrestore
3c6e85
 							(qp->qp_lock_ptr, flags);
3c6e85
-						status = qla2xxx_eh_abort(
3c6e85
+						qla2xxx_eh_abort(
3c6e85
 							GET_CMD_SP(sp));
3c6e85
 						spin_lock_irqsave
3c6e85
 							(qp->qp_lock_ptr, flags);
3c6e85
-- 
3c6e85
2.13.6
3c6e85