aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorDave Peterson <dsp@llnl.gov>2006-03-26 04:38:45 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 11:57:07 -0500
commitd38fde84f7521973fdfa5c3d03d62f014b42cd03 (patch)
tree9ff599dbb5e20e3c29d7f8691e313d3e8f845895 /drivers/edac
parent637beb697b8dc7b9d7a35c2b6488332e77963ded (diff)
[PATCH] EDAC: e7xxx fix minor logic bug
Fix minor logic bug in e7xxx_remove_one(). Signed-off-by: David S. Peterson <dsp@llnl.gov> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/e7xxx_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/e7xxx_edac.c b/drivers/edac/e7xxx_edac.c
index 8001797a6bc5..ec6eb77edaed 100644
--- a/drivers/edac/e7xxx_edac.c
+++ b/drivers/edac/e7xxx_edac.c
@@ -512,7 +512,7 @@ static void __devexit e7xxx_remove_one(struct pci_dev *pdev)
512 debugf0("%s()\n", __func__); 512 debugf0("%s()\n", __func__);
513 513
514 if (((mci = edac_mc_find_mci_by_pdev(pdev)) != 0) && 514 if (((mci = edac_mc_find_mci_by_pdev(pdev)) != 0) &&
515 edac_mc_del_mc(mci)) { 515 !edac_mc_del_mc(mci)) {
516 pvt = (struct e7xxx_pvt *) mci->pvt_info; 516 pvt = (struct e7xxx_pvt *) mci->pvt_info;
517 pci_dev_put(pvt->bridge_ck); 517 pci_dev_put(pvt->bridge_ck);
518 edac_mc_free(mci); 518 edac_mc_free(mci);