summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhimanshu.madhani@cavium.com <himanshu.madhani@cavium.com>2018-05-01 09:01:52 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-05-08 00:46:12 -0400
commitfc31b7a803bfe6548a445bd48039b56728d3ac3c (patch)
tree59270a9ddec175d2163a65cb16c4cba029413ad6
parent36d49c92efe6e0d149fcc5b91da93136d65d5ce3 (diff)
downloadop-kernel-dev-fc31b7a803bfe6548a445bd48039b56728d3ac3c.zip
op-kernel-dev-fc31b7a803bfe6548a445bd48039b56728d3ac3c.tar.gz
scsi: qla2xxx: Prevent relogin loop by removing stale code
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 3405cb9..1aa3720 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -1332,20 +1332,6 @@ void qla2x00_fcport_event_handler(scsi_qla_host_t *vha, struct event_arg *ea)
fc_port_t *fcport;
switch (ea->event) {
- case FCME_RSCN:
- case FCME_GIDPN_DONE:
- case FCME_GPSC_DONE:
- case FCME_GPNID_DONE:
- case FCME_GNNID_DONE:
- if (test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) ||
- test_bit(LOOP_RESYNC_ACTIVE, &vha->dpc_flags))
- return;
- break;
- default:
- break;
- }
-
- switch (ea->event) {
case FCME_RELOGIN:
if (test_bit(UNLOADING, &vha->dpc_flags))
return;
OpenPOWER on IntegriCloud