summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc
diff options
context:
space:
mode:
authorMike Christie2008-08-20 01:45:24 +0200
committerJames Bottomley2008-10-13 15:28:48 +0200
commit9cc328f502eacfcc52ab1c1bf9a7729cf12f14be (patch)
tree02332fe0f0886774a7470a395f511da0137a530c /drivers/scsi/lpfc
parent[SCSI] fc class: unblock target after calling terminate callback (take 2) (diff)
downloadkernel-qcow2-linux-9cc328f502eacfcc52ab1c1bf9a7729cf12f14be.tar.gz
kernel-qcow2-linux-9cc328f502eacfcc52ab1c1bf9a7729cf12f14be.tar.xz
kernel-qcow2-linux-9cc328f502eacfcc52ab1c1bf9a7729cf12f14be.zip
[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>
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index a98d11bf3576..aaf398e5c93f 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -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;
}
/*