Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80f5ab09 authored by Shaun Ruffell's avatar Shaun Ruffell Committed by Mauro Carvalho Chehab
Browse files

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: default avatarShaun Ruffell <sruffell@digium.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 9ada9fd5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -441,13 +441,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:
+0 −1
Original line number Diff line number Diff line
@@ -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>