diff options
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r-- | include/linux/sysfs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index b393bb449624..db5dd2403d08 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
@@ -87,8 +87,6 @@ int __must_check sysfs_move_dir(struct kobject *kobj, | |||
87 | 87 | ||
88 | int __must_check sysfs_create_file(struct kobject *kobj, | 88 | int __must_check sysfs_create_file(struct kobject *kobj, |
89 | const struct attribute *attr); | 89 | const struct attribute *attr); |
90 | int __must_check sysfs_update_file(struct kobject *kobj, | ||
91 | const struct attribute *attr); | ||
92 | int __must_check sysfs_chmod_file(struct kobject *kobj, struct attribute *attr, | 90 | int __must_check sysfs_chmod_file(struct kobject *kobj, struct attribute *attr, |
93 | mode_t mode); | 91 | mode_t mode); |
94 | void sysfs_remove_file(struct kobject *kobj, const struct attribute *attr); | 92 | void sysfs_remove_file(struct kobject *kobj, const struct attribute *attr); |
@@ -149,11 +147,6 @@ static inline int sysfs_create_file(struct kobject *kobj, | |||
149 | return 0; | 147 | return 0; |
150 | } | 148 | } |
151 | 149 | ||
152 | static inline int sysfs_update_file(struct kobject *kobj, | ||
153 | const struct attribute *attr) | ||
154 | { | ||
155 | return 0; | ||
156 | } | ||
157 | static inline int sysfs_chmod_file(struct kobject *kobj, | 150 | static inline int sysfs_chmod_file(struct kobject *kobj, |
158 | struct attribute *attr, mode_t mode) | 151 | struct attribute *attr, mode_t mode) |
159 | { | 152 | { |