Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15191
b: refs/heads/master
c: 7767e12
h: refs/heads/master
i:
  15189: 7154174
  15187: cdcf4d5
  15183: 25c3bda
v: v3
  • Loading branch information
Paolo Galtieri authored and Linus Torvalds committed Dec 15, 2005
1 parent 81ee20a commit 93c8992
Show file tree
Hide file tree
Showing 2 changed files with 5 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: ebbd1bce79b3b4778d9e1914a22c42fcfa869cd9
refs/heads/master: 7767e126ca0f32cd0438455fdd9650f909d2eeb3
6 changes: 4 additions & 2 deletions trunk/drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2399,7 +2399,8 @@ static int init_one_smi(int intf_num, struct smi_info **smi)
new_smi->handlers->cleanup(new_smi->si_sm);
kfree(new_smi->si_sm);
}
new_smi->io_cleanup(new_smi);
if (new_smi->io_cleanup)
new_smi->io_cleanup(new_smi);

return rv;
}
Expand Down Expand Up @@ -2518,7 +2519,8 @@ static void __exit cleanup_one_si(struct smi_info *to_clean)

kfree(to_clean->si_sm);

to_clean->io_cleanup(to_clean);
if (to_clean->io_cleanup)
to_clean->io_cleanup(to_clean);
}

static __exit void cleanup_ipmi_si(void)
Expand Down

0 comments on commit 93c8992

Please sign in to comment.