From: Chad Dupuis Date: Fri, 6 Jul 2012 19:44:58 +0000 (-0500) Subject: qla2xxx: Remove setting Scsi_host->this_id during adapter probe. X-Git-Tag: v2.6.39-400.9.0~415 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=38b992f7bb66475cefe404c36931d1941dfb4e37;p=users%2Fjedix%2Flinux-maple.git qla2xxx: Remove setting Scsi_host->this_id during adapter probe. Setting this to 255 will cause any target with id 255 to not show up so leave it at the default in our host template. JIRA Key: V2632FC-231 ER: ER93655 --- diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index 39103730c0d9..09543927fe1f 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c @@ -468,7 +468,6 @@ qla24xx_create_vhost(struct fc_vport *fc_vport) vha->req = base_vha->req; host->can_queue = base_vha->req->length + 128; - host->this_id = 255; host->cmd_per_lun = 3; if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif) host->max_cmd_len = 32; diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 559f66a4ed81..bb89782545cd 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -2404,7 +2404,6 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) host->can_queue, base_vha->req, base_vha->mgmt_svr_loop_id, host->sg_tablesize); host->max_id = ha->max_fibre_devices; - host->this_id = 255; host->cmd_per_lun = 3; host->unique_id = host->host_no; if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)