mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
[SCSI] ibmvfc, qla2xxx, lpfc: remove scsi_target_unblock calls in terminate callbacks
The fc class now calls scsi_target_unblock after calling the terminate callback, so this patch removes the calls from the drivers. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
fff9d40ce0
commit
9cc328f502
3 changed files with 0 additions and 11 deletions
|
@ -2031,8 +2031,6 @@ static void ibmvfc_terminate_rport_io(struct fc_rport *rport)
|
|||
spin_unlock_irqrestore(shost->host_lock, flags);
|
||||
} else
|
||||
ibmvfc_issue_fc_host_lip(shost);
|
||||
|
||||
scsi_target_unblock(&rport->dev);
|
||||
LEAVE;
|
||||
}
|
||||
|
||||
|
|
|
@ -88,14 +88,6 @@ lpfc_terminate_rport_io(struct fc_rport *rport)
|
|||
&phba->sli.ring[phba->sli.fcp_ring],
|
||||
ndlp->nlp_sid, 0, LPFC_CTX_TGT);
|
||||
}
|
||||
|
||||
/*
|
||||
* A device is normally blocked for rediscovery and unblocked when
|
||||
* devloss timeout happens. In case a vport is removed or driver
|
||||
* unloaded before devloss timeout happens, we need to unblock here.
|
||||
*/
|
||||
scsi_target_unblock(&rport->dev);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1006,7 +1006,6 @@ qla2x00_terminate_rport_io(struct fc_rport *rport)
|
|||
}
|
||||
|
||||
qla2x00_abort_fcport_cmds(fcport);
|
||||
scsi_target_unblock(&rport->dev);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in a new issue