diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-30 00:22:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:14 -0500 |
commit | e5e38a86c0bbe8475543f10f0a48393a45df5182 (patch) | |
tree | e823d08ca85003bb116631bc65c890840178c6aa /include/linux/kobject.h | |
parent | 81ace5cd8fcb55e144f496af40d4275b03252456 (diff) |
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>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 718b48811288..390ae14b73e8 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -193,11 +193,6 @@ struct kset _name##_subsys = { \ | |||
193 | .kobj = { .k_name = __stringify(_name) }, \ | 193 | .kobj = { .k_name = __stringify(_name) }, \ |
194 | .uevent_ops =_uevent_ops, \ | 194 | .uevent_ops =_uevent_ops, \ |
195 | } | 195 | } |
196 | #define decl_subsys_name(_varname,_name,_uevent_ops) \ | ||
197 | struct kset _varname##_subsys = { \ | ||
198 | .kobj = { .k_name = __stringify(_name) }, \ | ||
199 | .uevent_ops =_uevent_ops, \ | ||
200 | } | ||
201 | 196 | ||
202 | /* The global /sys/kernel/ subsystem for people to chain off of */ | 197 | /* The global /sys/kernel/ subsystem for people to chain off of */ |
203 | extern struct kset kernel_subsys; | 198 | extern struct kset kernel_subsys; |