aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-08-19 00:11:24 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-21 05:00:02 -0500
commit80f5ab097b87c86581cb9736a8e55c5a3047d4bb (patch)
tree107438f3205d8fdf623c66646734cc7606aaae92 /drivers/edac
parent9ada9fd5dfaf0076eadf42cecc68f7adc1717c58 (diff)
edac: edac_mc no longer deals with kobjects directly
There are no more embedded kobjects in struct mem_ctl_info. Remove a header and a comment that does not reflect the code anymore. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/edac_mc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index 281f566a5513..a641f623fffd 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -441,13 +441,6 @@ struct mem_ctl_info *edac_mc_alloc(unsigned mc_num,
441 441
442 mci->op_state = OP_ALLOC; 442 mci->op_state = OP_ALLOC;
443 443
444 /* at this point, the root kobj is valid, and in order to
445 * 'free' the object, then the function:
446 * edac_mc_unregister_sysfs_main_kobj() must be called
447 * which will perform kobj unregistration and the actual free
448 * will occur during the kobject callback operation
449 */
450
451 return mci; 444 return mci;
452 445
453error: 446error: