aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_scsi.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index 2e51aa6b45b3..6e331c73170e 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -3656,7 +3656,6 @@ lpfc_slave_alloc(struct scsi_device *sdev)
3656 * 3656 *
3657 * This routine configures following items 3657 * This routine configures following items
3658 * - Tag command queuing support for @sdev if supported. 3658 * - Tag command queuing support for @sdev if supported.
3659 * - Dev loss time out value of fc_rport.
3660 * - Enable SLI polling for fcp ring if ENABLE_FCP_RING_POLLING flag is set. 3659 * - Enable SLI polling for fcp ring if ENABLE_FCP_RING_POLLING flag is set.
3661 * 3660 *
3662 * Return codes: 3661 * Return codes:
@@ -3667,21 +3666,12 @@ lpfc_slave_configure(struct scsi_device *sdev)
3667{ 3666{
3668 struct lpfc_vport *vport = (struct lpfc_vport *) sdev->host->hostdata; 3667 struct lpfc_vport *vport = (struct lpfc_vport *) sdev->host->hostdata;
3669 struct lpfc_hba *phba = vport->phba; 3668 struct lpfc_hba *phba = vport->phba;
3670 struct fc_rport *rport = starget_to_rport(sdev->sdev_target);
3671 3669
3672 if (sdev->tagged_supported) 3670 if (sdev->tagged_supported)
3673 scsi_activate_tcq(sdev, vport->cfg_lun_queue_depth); 3671 scsi_activate_tcq(sdev, vport->cfg_lun_queue_depth);
3674 else 3672 else
3675 scsi_deactivate_tcq(sdev, vport->cfg_lun_queue_depth); 3673 scsi_deactivate_tcq(sdev, vport->cfg_lun_queue_depth);
3676 3674
3677 /*
3678 * Initialize the fc transport attributes for the target
3679 * containing this scsi device. Also note that the driver's
3680 * target pointer is stored in the starget_data for the
3681 * driver's sysfs entry point functions.
3682 */
3683 rport->dev_loss_tmo = vport->cfg_devloss_tmo;
3684
3685 if (phba->cfg_poll & ENABLE_FCP_RING_POLLING) { 3675 if (phba->cfg_poll & ENABLE_FCP_RING_POLLING) {
3686 lpfc_sli_handle_fast_ring_event(phba, 3676 lpfc_sli_handle_fast_ring_event(phba,
3687 &phba->sli.ring[LPFC_FCP_RING], HA_R0RE_REQ); 3677 &phba->sli.ring[LPFC_FCP_RING], HA_R0RE_REQ);