Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41217
b: refs/heads/master
c: 467c442
h: refs/heads/master
i:
  41215: a7d6345
v: v3
  • Loading branch information
Akinobu Mita authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent b1ed2c9 commit edc59c6
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a2302c68d923537436b1114aa207787c1a31bd50
refs/heads/master: 467c442f092e22acf86a3b4ad4863d097d7257da
8 changes: 2 additions & 6 deletions trunk/drivers/pci/hotplug/acpiphp_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1693,14 +1693,10 @@ void __exit acpiphp_glue_exit(void)
*/
int __init acpiphp_get_num_slots(void)
{
struct list_head *node;
struct acpiphp_bridge *bridge;
int num_slots;

num_slots = 0;
int num_slots = 0;

list_for_each (node, &bridge_list) {
bridge = (struct acpiphp_bridge *)node;
list_for_each_entry (bridge, &bridge_list, list) {
dbg("Bus %04x:%02x has %d slot%s\n",
pci_domain_nr(bridge->pci_bus),
bridge->pci_bus->number, bridge->nr_slots,
Expand Down

0 comments on commit edc59c6

Please sign in to comment.