diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-12 18:06:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:01 -0400 |
commit | 6e9d930d167f8957a12a80515f3c417a98296378 (patch) | |
tree | 5050bc0b029c8d51d970e76c5ee5f59ed5e756b7 /include/linux/kobject.h | |
parent | 27f20e5e4e60a7f28010eeb34399fe0cc9a1a235 (diff) |
Driver core: remove subsys_put()
There are no more subsystems, it's a kset now so remove the function and
the only two users, which are in the driver core.
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 ee61ef27e799..45effedff315 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -238,11 +238,6 @@ static inline struct kset *subsys_get(struct kset *s) | |||
238 | return NULL; | 238 | return NULL; |
239 | } | 239 | } |
240 | 240 | ||
241 | static inline void subsys_put(struct kset *s) | ||
242 | { | ||
243 | kset_put(s); | ||
244 | } | ||
245 | |||
246 | struct subsys_attribute { | 241 | struct subsys_attribute { |
247 | struct attribute attr; | 242 | struct attribute attr; |
248 | ssize_t (*show)(struct kset *, char *); | 243 | ssize_t (*show)(struct kset *, char *); |