kset: remove decl_subsys_name
The last user of this macro (pci hotplug core) is now switched over to using a dynamic kset, so this macro is no longer needed at all. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
81ace5cd8f
commit
e5e38a86c0
|
@ -193,11 +193,6 @@ struct kset _name##_subsys = { \
|
|||
.kobj = { .k_name = __stringify(_name) }, \
|
||||
.uevent_ops =_uevent_ops, \
|
||||
}
|
||||
#define decl_subsys_name(_varname,_name,_uevent_ops) \
|
||||
struct kset _varname##_subsys = { \
|
||||
.kobj = { .k_name = __stringify(_name) }, \
|
||||
.uevent_ops =_uevent_ops, \
|
||||
}
|
||||
|
||||
/* The global /sys/kernel/ subsystem for people to chain off of */
|
||||
extern struct kset kernel_subsys;
|
||||
|
|
Loading…
Reference in New Issue