diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-02-25 13:25:21 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 06:55:28 -0400 |
commit | 150fc6fc725055b400a8865e6785dc8dd0a2225d (patch) | |
tree | 800fe37980919606017c603c77d8d7384beaa7dc /drivers/scsi/isci/host.c | |
parent | 7392d27580df2d14b5c3b1a1d7989c06457a819d (diff) |
isci: fix sas address reporting
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>
Diffstat (limited to 'drivers/scsi/isci/host.c')
-rw-r--r-- | drivers/scsi/isci/host.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c index aa86615fa7a9..d8d6f67bd69c 100644 --- a/drivers/scsi/isci/host.c +++ b/drivers/scsi/isci/host.c | |||
@@ -517,11 +517,6 @@ int isci_host_init(struct isci_host *isci_host) | |||
517 | for (index = 0; index < SCI_MAX_PHYS; index++) | 517 | for (index = 0; index < SCI_MAX_PHYS; index++) |
518 | isci_phy_init(&isci_host->phys[index], isci_host, index); | 518 | isci_phy_init(&isci_host->phys[index], isci_host, index); |
519 | 519 | ||
520 | /* Why are we doing this? Is this even necessary? */ | ||
521 | memcpy(&isci_host->sas_addr[0], | ||
522 | &isci_host->phys[0].sas_addr[0], | ||
523 | SAS_ADDR_SIZE); | ||
524 | |||
525 | /* Start the ports */ | 520 | /* Start the ports */ |
526 | for (index = 0; index < SCI_MAX_PORTS; index++) { | 521 | for (index = 0; index < SCI_MAX_PORTS; index++) { |
527 | scic_controller_get_port_handle(controller, index, &scic_port); | 522 | scic_controller_get_port_handle(controller, index, &scic_port); |