aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 45effedff315..c0fb535d7acd 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -231,13 +231,6 @@ extern void subsystem_init(struct kset *);
231extern int __must_check subsystem_register(struct kset *); 231extern int __must_check subsystem_register(struct kset *);
232extern void subsystem_unregister(struct kset *); 232extern void subsystem_unregister(struct kset *);
233 233
234static inline struct kset *subsys_get(struct kset *s)
235{
236 if (s)
237 return kset_get(s);
238 return NULL;
239}
240
241struct subsys_attribute { 234struct subsys_attribute {
242 struct attribute attr; 235 struct attribute attr;
243 ssize_t (*show)(struct kset *, char *); 236 ssize_t (*show)(struct kset *, char *);