Commit 80f5ab097b87c86581cb9736a8e55c5a3047d4bb

Authored by Shaun Ruffell
Committed by Mauro Carvalho Chehab
1 parent 9ada9fd5df

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>

Showing 2 changed files with 0 additions and 8 deletions Side-by-side Diff

drivers/edac/edac_mc.c
... ... @@ -441,13 +441,6 @@
441 441  
442 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 444 return mci;
452 445  
453 446 error:
include/linux/edac.h
... ... @@ -14,7 +14,6 @@
14 14  
15 15 #include <linux/atomic.h>
16 16 #include <linux/device.h>
17   -#include <linux/kobject.h>
18 17 #include <linux/completion.h>
19 18 #include <linux/workqueue.h>
20 19 #include <linux/debugfs.h>