aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_driver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c
index 5248f57fe198..44784d049b71 100644
--- a/drivers/infiniband/hw/ipath/ipath_driver.c
+++ b/drivers/infiniband/hw/ipath/ipath_driver.c
@@ -382,8 +382,6 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
382 382
383 ipath_cdbg(VERBOSE, "initializing unit #%u\n", dd->ipath_unit); 383 ipath_cdbg(VERBOSE, "initializing unit #%u\n", dd->ipath_unit);
384 384
385 read_bars(dd, pdev, &bar0, &bar1);
386
387 ret = pci_enable_device(pdev); 385 ret = pci_enable_device(pdev);
388 if (ret) { 386 if (ret) {
389 /* This can happen iff: 387 /* This can happen iff:
@@ -529,9 +527,6 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
529 goto bail_regions; 527 goto bail_regions;
530 } 528 }
531 529
532 dd->ipath_deviceid = ent->device; /* save for later use */
533 dd->ipath_vendorid = ent->vendor;
534
535 dd->ipath_pcirev = pdev->revision; 530 dd->ipath_pcirev = pdev->revision;
536 531
537#if defined(__powerpc__) 532#if defined(__powerpc__)