diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2002-04-09 15:14:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:39 -0500 |
commit | 12e339ac6e31a34fe42396aec8fb1c0b43caf61e (patch) | |
tree | 28427e04e49ba7b5f1cabd9da33a9240f30acfae /include | |
parent | 6d06adfaf82d154023141ddc0c9de18b6a49090b (diff) |
Kset: remove kset_add function
No one is calling this anymore, so just remove it and hard-code the one
internal-use of it.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kobject.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 259084758617..63967da073af 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -158,7 +158,6 @@ struct kset { | |||
158 | }; | 158 | }; |
159 | 159 | ||
160 | extern void kset_init(struct kset * k); | 160 | extern void kset_init(struct kset * k); |
161 | extern int __must_check kset_add(struct kset * k); | ||
162 | extern int __must_check kset_register(struct kset * k); | 161 | extern int __must_check kset_register(struct kset * k); |
163 | extern void kset_unregister(struct kset * k); | 162 | extern void kset_unregister(struct kset * k); |
164 | extern struct kset * __must_check kset_create_and_add(const char *name, | 163 | extern struct kset * __must_check kset_create_and_add(const char *name, |