From: Guenter Roeck Date: Thu, 29 Jul 2010 05:09:26 +0000 (-0700) Subject: sysfs: Remove owner field from sysfs struct attribute X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6fd69dc578fa0b1bbc3aad70ae3af9a137211707;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git sysfs: Remove owner field from sysfs struct attribute Signed-off-by: Guenter Roeck Acked-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 8bf06b64487..3c92121ba9a 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -22,14 +22,8 @@ struct kobject; struct module; enum kobj_ns_type; -/* FIXME - * The *owner field is no longer used. - * x86 tree has been cleaned up. The owner - * attribute is still left for other arches. - */ struct attribute { const char *name; - struct module *owner; mode_t mode; #ifdef CONFIG_DEBUG_LOCK_ALLOC struct lock_class_key *key;