Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44811
b: refs/heads/master
c: 120a50d
h: refs/heads/master
i:
  44809: 98fada5
  44807: cb5864a
v: v3
  • Loading branch information
Michael Ellerman authored and Greg Kroah-Hartman committed Dec 20, 2006
1 parent ee7d91a commit 14140c6
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: 687d5fe3dc33794efb500f42164a0588e2647914
refs/heads/master: 120a50df4536da69d2e85633a60bc40a85088dd1
9 changes: 1 addition & 8 deletions trunk/drivers/pci/htirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,7 @@ int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update)
int pos;
int irq;

pos = pci_find_capability(dev, PCI_CAP_ID_HT);
while (pos) {
u8 subtype;
pci_read_config_byte(dev, pos + 3, &subtype);
if (subtype == HT_CAPTYPE_IRQ)
break;
pos = pci_find_next_capability(dev, pos, PCI_CAP_ID_HT);
}
pos = pci_find_ht_capability(dev, HT_CAPTYPE_IRQ);
if (!pos)
return -EINVAL;

Expand Down

0 comments on commit 14140c6

Please sign in to comment.