Commit 80f5ab097b87c86581cb9736a8e55c5a3047d4bb
Committed by
Mauro Carvalho Chehab
1 parent
9ada9fd5df
Exists in
master
and in
20 other branches
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: |