Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245336
b: refs/heads/master
c: ec03d67
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and Roland Dreier committed May 10, 2011
1 parent 64aab33 commit 9bc76ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f5754e34bf964a41e821b2e0b358bc7c314ca4e
refs/heads/master: ec03d6777a9e2b76917ef6d3fc8a01e174bcb9b1
9 changes: 1 addition & 8 deletions trunk/drivers/infiniband/hw/ipath/ipath_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
struct ipath_devdata *dd;
unsigned long long addr;
u32 bar0 = 0, bar1 = 0;
u8 rev;

dd = ipath_alloc_devdata(pdev);
if (IS_ERR(dd)) {
Expand Down Expand Up @@ -540,13 +539,7 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
goto bail_regions;
}

ret = pci_read_config_byte(pdev, PCI_REVISION_ID, &rev);
if (ret) {
ipath_dev_err(dd, "Failed to read PCI revision ID unit "
"%u: err %d\n", dd->ipath_unit, -ret);
goto bail_regions; /* shouldn't ever happen */
}
dd->ipath_pcirev = rev;
dd->ipath_pcirev = pdev->revision;

#if defined(__powerpc__)
/* There isn't a generic way to specify writethrough mappings */
Expand Down

0 comments on commit 9bc76ad

Please sign in to comment.