Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197532
b: refs/heads/master
c: c86e140
h: refs/heads/master
v: v3
  • Loading branch information
Minskey Guo authored and Dan Williams committed May 2, 2010
1 parent c95ca91 commit d3e7639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 2adfc550b6d9646301c810643bc309fa49375987
refs/heads/master: c86e1401c9f2ba8d989fa1c4b33d0f0ec3ba8aaf
7 changes: 1 addition & 6 deletions trunk/drivers/dma/ioat/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,10 @@ static int __devinit ioat_pci_probe(struct pci_dev *pdev, const struct pci_devic
if (err)
return err;

device = devm_kzalloc(dev, sizeof(*device), GFP_KERNEL);
if (!device)
return -ENOMEM;

pci_set_master(pdev);

device = alloc_ioatdma(pdev, iomap[IOAT_MMIO_BAR]);
if (!device)
return -ENOMEM;
pci_set_master(pdev);
pci_set_drvdata(pdev, device);

device->version = readb(device->reg_base + IOAT_VER_OFFSET);
Expand Down

0 comments on commit d3e7639

Please sign in to comment.