isci: fix sas address reporting
authorDan Williams <dan.j.williams@intel.com>
Fri, 25 Feb 2011 18:25:21 +0000 (10:25 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 10:55:28 +0000 (03:55 -0700)
Undo the open coded and incorrect translation of the oem parameter sas
address to its libsas expected format.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/host.h
drivers/scsi/isci/init.c
drivers/scsi/isci/phy.c
drivers/scsi/isci/port.c

index aa86615..d8d6f67 100644 (file)
@@ -517,11 +517,6 @@ int isci_host_init(struct isci_host *isci_host)
        for (index = 0; index < SCI_MAX_PHYS; index++)
                isci_phy_init(&isci_host->phys[index], isci_host, index);
 
-       /* Why are we doing this? Is this even necessary? */
-       memcpy(&isci_host->sas_addr[0],
-              &isci_host->phys[0].sas_addr[0],
-              SAS_ADDR_SIZE);
-
        /* Start the ports */
        for (index = 0; index < SCI_MAX_PORTS; index++) {
                scic_controller_get_port_handle(controller, index, &scic_port);
Simple merge
Simple merge
Simple merge
Simple merge