summaryrefslogtreecommitdiffstats
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-10-29 23:22:26 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 20:40:14 -0800
commite5e38a86c0bbe8475543f10f0a48393a45df5182 (patch)
treee823d08ca85003bb116631bc65c890840178c6aa /include/linux/kobject.h
parent81ace5cd8fcb55e144f496af40d4275b03252456 (diff)
downloadop-kernel-dev-e5e38a86c0bbe8475543f10f0a48393a45df5182.zip
op-kernel-dev-e5e38a86c0bbe8475543f10f0a48393a45df5182.tar.gz
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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 718b488..390ae14 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -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;
OpenPOWER on IntegriCloud