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 bd96c603ab6c..14df05415af9 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
| @@ -178,9 +178,6 @@ struct sysfs_ops { | |||
| 178 | 178 | ||
| 179 | #ifdef CONFIG_SYSFS | 179 | #ifdef CONFIG_SYSFS |
| 180 | 180 | ||
| 181 | int sysfs_schedule_callback(struct kobject *kobj, void (*func)(void *), | ||
| 182 | void *data, struct module *owner); | ||
| 183 | |||
| 184 | int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); | 181 | int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); |
| 185 | void sysfs_remove_dir(struct kobject *kobj); | 182 | void sysfs_remove_dir(struct kobject *kobj); |
| 186 | int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, | 183 | int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, |
| @@ -249,12 +246,6 @@ int __must_check sysfs_init(void); | |||
| 249 | 246 | ||
| 250 | #else /* CONFIG_SYSFS */ | 247 | #else /* CONFIG_SYSFS */ |
| 251 | 248 | ||
| 252 | static inline int sysfs_schedule_callback(struct kobject *kobj, | ||
| 253 | void (*func)(void *), void *data, struct module *owner) | ||
| 254 | { | ||
| 255 | return -ENOSYS; | ||
| 256 | } | ||
| 257 | |||
| 258 | static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) | 249 | static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) |
| 259 | { | 250 | { |
| 260 | return 0; | 251 | return 0; |
