diff options
Diffstat (limited to 'include/linux/sysfs.h')
| -rw-r--r-- | include/linux/sysfs.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 802710438a9e..03378e3515b3 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
| @@ -131,7 +131,6 @@ static inline int sysfs_create_dir(struct kobject *kobj) | |||
| 131 | 131 | ||
| 132 | static inline void sysfs_remove_dir(struct kobject *kobj) | 132 | static inline void sysfs_remove_dir(struct kobject *kobj) |
| 133 | { | 133 | { |
| 134 | ; | ||
| 135 | } | 134 | } |
| 136 | 135 | ||
| 137 | static inline int sysfs_rename_dir(struct kobject *kobj, const char *new_name) | 136 | static inline int sysfs_rename_dir(struct kobject *kobj, const char *new_name) |
| @@ -160,7 +159,6 @@ static inline int sysfs_chmod_file(struct kobject *kobj, | |||
| 160 | static inline void sysfs_remove_file(struct kobject *kobj, | 159 | static inline void sysfs_remove_file(struct kobject *kobj, |
| 161 | const struct attribute *attr) | 160 | const struct attribute *attr) |
| 162 | { | 161 | { |
| 163 | ; | ||
| 164 | } | 162 | } |
| 165 | 163 | ||
| 166 | static inline int sysfs_create_bin_file(struct kobject *kobj, | 164 | static inline int sysfs_create_bin_file(struct kobject *kobj, |
| @@ -169,10 +167,9 @@ static inline int sysfs_create_bin_file(struct kobject *kobj, | |||
| 169 | return 0; | 167 | return 0; |
| 170 | } | 168 | } |
| 171 | 169 | ||
| 172 | static inline int sysfs_remove_bin_file(struct kobject *kobj, | 170 | static inline void sysfs_remove_bin_file(struct kobject *kobj, |
| 173 | struct bin_attribute *attr) | 171 | struct bin_attribute *attr) |
| 174 | { | 172 | { |
| 175 | return 0; | ||
| 176 | } | 173 | } |
| 177 | 174 | ||
| 178 | static inline int sysfs_create_link(struct kobject *kobj, | 175 | static inline int sysfs_create_link(struct kobject *kobj, |
| @@ -183,7 +180,6 @@ static inline int sysfs_create_link(struct kobject *kobj, | |||
| 183 | 180 | ||
| 184 | static inline void sysfs_remove_link(struct kobject *kobj, const char *name) | 181 | static inline void sysfs_remove_link(struct kobject *kobj, const char *name) |
| 185 | { | 182 | { |
| 186 | ; | ||
| 187 | } | 183 | } |
| 188 | 184 | ||
| 189 | static inline int sysfs_create_group(struct kobject *kobj, | 185 | static inline int sysfs_create_group(struct kobject *kobj, |
| @@ -195,7 +191,6 @@ static inline int sysfs_create_group(struct kobject *kobj, | |||
| 195 | static inline void sysfs_remove_group(struct kobject *kobj, | 191 | static inline void sysfs_remove_group(struct kobject *kobj, |
| 196 | const struct attribute_group *grp) | 192 | const struct attribute_group *grp) |
| 197 | { | 193 | { |
| 198 | ; | ||
| 199 | } | 194 | } |
| 200 | 195 | ||
| 201 | static inline int sysfs_add_file_to_group(struct kobject *kobj, | 196 | static inline int sysfs_add_file_to_group(struct kobject *kobj, |
