diff options
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r-- | include/linux/sysfs.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 084354b0e814..5ffaa3443712 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
@@ -179,9 +179,6 @@ struct sysfs_ops { | |||
179 | 179 | ||
180 | #ifdef CONFIG_SYSFS | 180 | #ifdef CONFIG_SYSFS |
181 | 181 | ||
182 | int sysfs_schedule_callback(struct kobject *kobj, void (*func)(void *), | ||
183 | void *data, struct module *owner); | ||
184 | |||
185 | int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); | 182 | int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); |
186 | void sysfs_remove_dir(struct kobject *kobj); | 183 | void sysfs_remove_dir(struct kobject *kobj); |
187 | int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, | 184 | int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, |
@@ -255,12 +252,6 @@ static inline void sysfs_enable_ns(struct kernfs_node *kn) | |||
255 | 252 | ||
256 | #else /* CONFIG_SYSFS */ | 253 | #else /* CONFIG_SYSFS */ |
257 | 254 | ||
258 | static inline int sysfs_schedule_callback(struct kobject *kobj, | ||
259 | void (*func)(void *), void *data, struct module *owner) | ||
260 | { | ||
261 | return -ENOSYS; | ||
262 | } | ||
263 | |||
264 | static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) | 255 | static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) |
265 | { | 256 | { |
266 | return 0; | 257 | return 0; |