Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d38fde84 authored by Dave Peterson's avatar Dave Peterson Committed by Linus Torvalds
Browse files

[PATCH] EDAC: e7xxx fix minor logic bug



Fix minor logic bug in e7xxx_remove_one().

Signed-off-by: default avatarDavid S. Peterson <dsp@llnl.gov>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 637beb69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -512,7 +512,7 @@ static void __devexit e7xxx_remove_one(struct pci_dev *pdev)
	debugf0("%s()\n", __func__);

	if (((mci = edac_mc_find_mci_by_pdev(pdev)) != 0) &&
	    edac_mc_del_mc(mci)) {
	    !edac_mc_del_mc(mci)) {
		pvt = (struct e7xxx_pvt *) mci->pvt_info;
		pci_dev_put(pvt->bridge_ck);
		edac_mc_free(mci);