mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
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>
This commit is contained in:
parent
36d49c92ef
commit
fc31b7a803
@ -1331,20 +1331,6 @@ void qla2x00_fcport_event_handler(scsi_qla_host_t *vha, struct event_arg *ea)
|
||||
unsigned long flags;
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user