Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84134
b: refs/heads/master
c: 1a3b77a
h: refs/heads/master
v: v3
  • Loading branch information
Matthias Kaehlcke authored and Len Brown committed Feb 7, 2008
1 parent 1dec4ee commit 4adbb18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: e76d5f7e831a3f33dd6fa8eb94533b0b4cb22b6f
refs/heads/master: 1a3b77ae60f19fa85f4cdc34b6c09efb1a18372c
5 changes: 1 addition & 4 deletions trunk/drivers/acpi/pci_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ static struct acpi_prt_entry *acpi_pci_irq_find_prt_entry(int segment,
int bus,
int device, int pin)
{
struct list_head *node = NULL;
struct acpi_prt_entry *entry = NULL;


if (!acpi_prt.count)
return NULL;

Expand All @@ -64,8 +62,7 @@ static struct acpi_prt_entry *acpi_pci_irq_find_prt_entry(int segment,
*
*/
spin_lock(&acpi_prt_lock);
list_for_each(node, &acpi_prt.entries) {
entry = list_entry(node, struct acpi_prt_entry, node);
list_for_each_entry(entry, &acpi_prt.entries, node) {
if ((segment == entry->id.segment)
&& (bus == entry->id.bus)
&& (device == entry->id.device)
Expand Down

0 comments on commit 4adbb18

Please sign in to comment.