projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] EDAC: protect memory controller list
[deliverable/linux.git]
/
drivers
/
edac
/
amd76x_edac.c
diff --git
a/drivers/edac/amd76x_edac.c
b/drivers/edac/amd76x_edac.c
index 821c252d414cb8c18c566a51a99d1c724cf0524b..87bd8b4d561ff240bc25860945f127690dfeebfc 100644
(file)
--- a/
drivers/edac/amd76x_edac.c
+++ b/
drivers/edac/amd76x_edac.c
@@
-314,10
+314,9
@@
static void __devexit amd76x_remove_one(struct pci_dev *pdev)
debugf0("%s()\n", __func__);
- if ((mci = edac_mc_find_mci_by_pdev(pdev)) == NULL)
- return;
- if (edac_mc_del_mc(mci))
+ if ((mci = edac_mc_del_mc(pdev)) == NULL)
return;
+
edac_mc_free(mci);
}
This page took
0.045347 seconds
and
5
git commands to generate.