diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-06 18:03:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:24 -0500 |
commit | 2fb9113b974c3c7c43e76647bd5077238e274e1c (patch) | |
tree | b87912c7d2c7a24b35a9a5e82fe462d7cffcbacb /lib/kobject.c | |
parent | 0ff21e46630abce11fdaaffabd72bbd4eed5ac2c (diff) |
kobject: remove subsystem_(un)register functions
These functions are no longer used and are the last remants of the old
subsystem crap. So delete them for good.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/kobject.c')
-rw-r--r-- | lib/kobject.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index c742ac25228a..7919c32a3a15 100644 --- a/lib/kobject.c +++ b/lib/kobject.c | |||
@@ -800,16 +800,6 @@ struct kobject * kset_find_obj(struct kset * kset, const char * name) | |||
800 | return ret; | 800 | return ret; |
801 | } | 801 | } |
802 | 802 | ||
803 | int subsystem_register(struct kset *s) | ||
804 | { | ||
805 | return kset_register(s); | ||
806 | } | ||
807 | |||
808 | void subsystem_unregister(struct kset *s) | ||
809 | { | ||
810 | kset_unregister(s); | ||
811 | } | ||
812 | |||
813 | static void kset_release(struct kobject *kobj) | 803 | static void kset_release(struct kobject *kobj) |
814 | { | 804 | { |
815 | struct kset *kset = container_of(kobj, struct kset, kobj); | 805 | struct kset *kset = container_of(kobj, struct kset, kobj); |
@@ -904,6 +894,3 @@ EXPORT_SYMBOL(kobject_del); | |||
904 | 894 | ||
905 | EXPORT_SYMBOL(kset_register); | 895 | EXPORT_SYMBOL(kset_register); |
906 | EXPORT_SYMBOL(kset_unregister); | 896 | EXPORT_SYMBOL(kset_unregister); |
907 | |||
908 | EXPORT_SYMBOL(subsystem_register); | ||
909 | EXPORT_SYMBOL(subsystem_unregister); | ||