Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259446
b: refs/heads/master
c: 3d2de26
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 4477282 commit b295ca0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 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: 9aaa995e6af6ede7b06e3379d09ae70065c04d82
refs/heads/master: 3d2de26762433dc7569b62ced95bde9b3189467f
15 changes: 3 additions & 12 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,8 @@ static int vmbus_bus_init(int irq)
}

/* Get the interrupt resource */
ret = request_irq(irq, vmbus_isr,
IRQF_SHARED | IRQF_SAMPLE_RANDOM,
driver_name, hv_pci_dev);
ret = request_irq(irq, vmbus_isr, IRQF_SAMPLE_RANDOM,
driver_name, hv_pci_dev);

if (ret != 0) {
pr_err("Unable to request IRQ %d\n",
Expand Down Expand Up @@ -787,15 +786,7 @@ static int __devinit hv_pci_probe(struct pci_dev *pdev,
if (pci_probe_error)
goto probe_cleanup;

/*
* If the PCI sub-sytem did not assign us an
* irq, use the bios provided one.
*/

if (pdev->irq == 0)
pdev->irq = irq;

pci_probe_error = vmbus_bus_init(pdev->irq);
pci_probe_error = vmbus_bus_init(irq);

if (pci_probe_error)
pci_disable_device(pdev);
Expand Down

0 comments on commit b295ca0

Please sign in to comment.