aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-08-19 01:11:24 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-24 15:45:59 -0300
commitf155d84a292558ec5df5b9196fcbfeb8ffc9dc5a (patch)
tree4deb3eb244250050f63ac852b158a1223ee9601e
parent82e484e7340cab112c837ff92a3c38a7f6790717 (diff)
downloadlinux-edac-prev_master.tar.gz
edac: edac_mc no longer deals with kobjects directlyprev_master
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>
-rw-r--r--drivers/edac/edac_mc.c7
-rw-r--r--include/linux/edac.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index a58facc4cc88d0..65c59b1eff9c49 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -433,13 +433,6 @@ struct mem_ctl_info *edac_mc_alloc(unsigned mc_num,
mci->op_state = OP_ALLOC;
- /* at this point, the root kobj is valid, and in order to
- * 'free' the object, then the function:
- * edac_mc_unregister_sysfs_main_kobj() must be called
- * which will perform kobj unregistration and the actual free
- * will occur during the kobject callback operation
- */
-
return mci;
error:
diff --git a/include/linux/edac.h b/include/linux/edac.h
index bab9f8473dc1c7..aeddb3f69a6695 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -14,7 +14,6 @@
#include <linux/atomic.h>
#include <linux/device.h>
-#include <linux/kobject.h>
#include <linux/completion.h>
#include <linux/workqueue.h>
#include <linux/debugfs.h>