aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-06 18:03:30 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 23:40:24 -0500
commit2fb9113b974c3c7c43e76647bd5077238e274e1c (patch)
treeb87912c7d2c7a24b35a9a5e82fe462d7cffcbacb /lib
parent0ff21e46630abce11fdaaffabd72bbd4eed5ac2c (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')
-rw-r--r--lib/kobject.c13
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
803int subsystem_register(struct kset *s)
804{
805 return kset_register(s);
806}
807
808void subsystem_unregister(struct kset *s)
809{
810 kset_unregister(s);
811}
812
813static void kset_release(struct kobject *kobj) 803static 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
905EXPORT_SYMBOL(kset_register); 895EXPORT_SYMBOL(kset_register);
906EXPORT_SYMBOL(kset_unregister); 896EXPORT_SYMBOL(kset_unregister);
907
908EXPORT_SYMBOL(subsystem_register);
909EXPORT_SYMBOL(subsystem_unregister);