Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217369
b: refs/heads/master
c: accf74f
h: refs/heads/master
i:
  217367: d30b66a
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 24, 2010
1 parent dc63fc1 commit 6cf6bc1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 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: bbc560ae677c0f4d7ff8404a21409c99f35b297b
refs/heads/master: accf74fff36315a31dc7319dae2927af06e9296f
3 changes: 3 additions & 0 deletions trunk/drivers/edac/edac_mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ void edac_mc_free(struct mem_ctl_info *mci)
debugf1("%s()\n", __func__);

edac_mc_unregister_sysfs_main_kobj(mci);

/* free the mci instance memory here */
kfree(mci);
}
EXPORT_SYMBOL_GPL(edac_mc_free);

Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/edac/edac_mc_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,9 +630,6 @@ static void edac_mci_control_release(struct kobject *kobj)

/* decrement the module ref count */
module_put(mci->owner);

/* free the mci instance memory here */
kfree(mci);
}

static struct kobj_type ktype_mci = {
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2085,8 +2085,7 @@ static void __devexit i7core_remove(struct pci_dev *pdev)
/* Remove MC sysfs nodes */
edac_mc_del_mc(&i7core_dev->pdev[0]->dev);

/* Free data */
debugf1("%s: free structs\n");
debugf1("%s: free mci struct\n", mci->ctl_name);
kfree(mci->ctl_name);
edac_mc_free(mci);

Expand Down

0 comments on commit 6cf6bc1

Please sign in to comment.