summaryrefslogtreecommitdiff
path: root/drivers/edac/edac_mc.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-03-21 23:55:02 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-11 20:23:41 +0400
commitd90c008963ef638cb7ab7d5eb76362b3c2d379bc (patch)
treea2b394bd9ea90b48ec4f5015c2183c3c9f58e14e /drivers/edac/edac_mc.c
parent5c4cdb5ae72988ef93f72ad6f46be0e4eea5be8d (diff)
downloadlinux-d90c008963ef638cb7ab7d5eb76362b3c2d379bc.tar.xz
edac: Get rid of the old kobj's from the edac mc code
Now that al users for the old kobj raw access are gone, we can get rid of the legacy kobj-based structures and data. Reviewed-by: Aristeu Rozanski <arozansk@redhat.com> Cc: Doug Thompson <norsk5@yahoo.com> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r--drivers/edac/edac_mc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index 61ae34643b49..4a6fdc03740e 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -372,7 +372,6 @@ struct mem_ctl_info *edac_mc_alloc(unsigned mc_num,
}
mci->op_state = OP_ALLOC;
- INIT_LIST_HEAD(&mci->grp_kobj_list);
/* at this point, the root kobj is valid, and in order to
* 'free' the object, then the function: