Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217381
b: refs/heads/master
c: 73589c8
h: refs/heads/master
i:
  217379: 3fb32e3
v: v3
  • Loading branch information
Hidetoshi Seto authored and Mauro Carvalho Chehab committed Oct 24, 2010
1 parent 8524f31 commit 8b7bf11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 71fe01706d631513bdbd73381f4b76dacea5cf77
refs/heads/master: 73589c80cd0dab94db50800c4834a8d8522cd54f
5 changes: 2 additions & 3 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2099,7 +2099,7 @@ static void __devexit i7core_remove(struct pci_dev *pdev)
}

list_for_each_entry(i7core_dev, &i7core_edac_list, list) {
mci = find_mci_by_dev(&i7core_dev->pdev[0]->dev);
mci = i7core_dev->mci;
if (unlikely(!mci || !mci->pvt_info)) {
debugf0("MC: " __FILE__ ": %s(): dev = %p\n",
__func__, &i7core_dev->pdev[0]->dev);
Expand All @@ -2108,7 +2108,6 @@ static void __devexit i7core_remove(struct pci_dev *pdev)
"Couldn't find mci hanler\n");
} else {
pvt = mci->pvt_info;
i7core_dev = pvt->i7core_dev;

debugf0("MC: " __FILE__ ": %s(): mci = %p, dev = %p\n",
__func__, mci, &i7core_dev->pdev[0]->dev);
Expand All @@ -2120,7 +2119,7 @@ static void __devexit i7core_remove(struct pci_dev *pdev)
i7core_pci_ctl_release(pvt);

/* Remove MC sysfs nodes */
edac_mc_del_mc(&i7core_dev->pdev[0]->dev);
edac_mc_del_mc(mci->dev);

debugf1("%s: free mci struct\n", mci->ctl_name);
kfree(mci->ctl_name);
Expand Down

0 comments on commit 8b7bf11

Please sign in to comment.