diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 0856ff7d3b33..25d55f40424f 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -537,12 +537,6 @@ lpfc_handle_eratt(struct lpfc_hba * phba) | |||
537 | 537 | ||
538 | lpfc_offline(phba); | 538 | lpfc_offline(phba); |
539 | 539 | ||
540 | /* | ||
541 | * Restart all traffic to this host. Since the fc_transport | ||
542 | * block functions (future) were not called in lpfc_offline, | ||
543 | * don't call them here. | ||
544 | */ | ||
545 | scsi_unblock_requests(phba->host); | ||
546 | } | 540 | } |
547 | } | 541 | } |
548 | 542 | ||
@@ -1226,12 +1220,6 @@ lpfc_online(struct lpfc_hba * phba) | |||
1226 | phba->fc_flag &= ~FC_OFFLINE_MODE; | 1220 | phba->fc_flag &= ~FC_OFFLINE_MODE; |
1227 | spin_unlock_irq(phba->host->host_lock); | 1221 | spin_unlock_irq(phba->host->host_lock); |
1228 | 1222 | ||
1229 | /* | ||
1230 | * Restart all traffic to this host. Since the fc_transport block | ||
1231 | * functions (future) were not called in lpfc_offline, don't call them | ||
1232 | * here. | ||
1233 | */ | ||
1234 | scsi_unblock_requests(phba->host); | ||
1235 | return 0; | 1223 | return 0; |
1236 | } | 1224 | } |
1237 | 1225 | ||
@@ -1249,13 +1237,6 @@ lpfc_offline(struct lpfc_hba * phba) | |||
1249 | if (phba->fc_flag & FC_OFFLINE_MODE) | 1237 | if (phba->fc_flag & FC_OFFLINE_MODE) |
1250 | return 0; | 1238 | return 0; |
1251 | 1239 | ||
1252 | /* | ||
1253 | * Don't call the fc_transport block api (future). The device is | ||
1254 | * going offline and causing a timer to fire in the midlayer is | ||
1255 | * unproductive. Just block all new requests until the driver | ||
1256 | * comes back online. | ||
1257 | */ | ||
1258 | scsi_block_requests(phba->host); | ||
1259 | psli = &phba->sli; | 1240 | psli = &phba->sli; |
1260 | pring = &psli->ring[psli->fcp_ring]; | 1241 | pring = &psli->ring[psli->fcp_ring]; |
1261 | 1242 | ||