Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46000
b: refs/heads/master
c: 41c57a8
h: refs/heads/master
v: v3
  • Loading branch information
David Barksdale authored and Linus Torvalds committed Jan 31, 2007
1 parent 9e06b98 commit d8fba75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: fa8609da993b04dc2dd762173a6d0ab1a192e256
refs/heads/master: 41c57a87183a7c458d86f78966d69d4bf18ea0b7
3 changes: 1 addition & 2 deletions trunk/drivers/char/ipmi/ipmi_msghandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -3649,8 +3649,6 @@ static void ipmi_timeout_handler(long timeout_period)
unsigned long flags;
int i;

INIT_LIST_HEAD(&timeouts);

rcu_read_lock();
list_for_each_entry_rcu(intf, &ipmi_interfaces, link) {
/* See if any waiting messages need to be processed. */
Expand All @@ -3671,6 +3669,7 @@ static void ipmi_timeout_handler(long timeout_period)
/* Go through the seq table and find any messages that
have timed out, putting them in the timeouts
list. */
INIT_LIST_HEAD(&timeouts);
spin_lock_irqsave(&intf->seq_lock, flags);
for (i = 0; i < IPMI_IPMB_NUM_SEQ; i++)
check_msg_timeout(intf, &(intf->seq_table[i]),
Expand Down

0 comments on commit d8fba75

Please sign in to comment.