Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217387
b: refs/heads/master
c: 88ef5ea
h: refs/heads/master
i:
  217385: 1e37b10
  217383: cd59044
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 24, 2010
1 parent c3d19e1 commit a532c7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 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: 6d37d240f2ff411c4d58bbbddefbda73a227d40c
refs/heads/master: 88ef5ea9767b0c7bfb4b477e1857629fe8fa2983
13 changes: 5 additions & 8 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2091,10 +2091,9 @@ static int __devinit i7core_probe(struct pci_dev *pdev,
return 0;

fail1:
list_for_each_entry(i7core_dev, &i7core_edac_list, list) {
if (i7core_dev->mci)
i7core_unregister_mci(i7core_dev);
}
list_for_each_entry(i7core_dev, &i7core_edac_list, list)
i7core_unregister_mci(i7core_dev);

i7core_put_all_devices();
fail0:
mutex_unlock(&i7core_edac_lock);
Expand Down Expand Up @@ -2126,10 +2125,8 @@ static void __devexit i7core_remove(struct pci_dev *pdev)
return;
}

list_for_each_entry(i7core_dev, &i7core_edac_list, list) {
if (i7core_dev->mci)
i7core_unregister_mci(i7core_dev);
}
list_for_each_entry(i7core_dev, &i7core_edac_list, list)
i7core_unregister_mci(i7core_dev);

/* Release PCI resources */
i7core_put_all_devices();
Expand Down

0 comments on commit a532c7d

Please sign in to comment.