diff options
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r-- | include/linux/sysfs.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 30b881555fa5..e2696d76a599 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
@@ -176,10 +176,6 @@ struct sysfs_dirent *sysfs_get_dirent(struct sysfs_dirent *parent_sd, | |||
176 | const unsigned char *name); | 176 | const unsigned char *name); |
177 | struct sysfs_dirent *sysfs_get(struct sysfs_dirent *sd); | 177 | struct sysfs_dirent *sysfs_get(struct sysfs_dirent *sd); |
178 | void sysfs_put(struct sysfs_dirent *sd); | 178 | void sysfs_put(struct sysfs_dirent *sd); |
179 | void sysfs_printk_last_file(void); | ||
180 | |||
181 | /* Called to clear a ns tag when it is no longer valid */ | ||
182 | void sysfs_exit_ns(enum kobj_ns_type type, const void *tag); | ||
183 | 179 | ||
184 | int __must_check sysfs_init(void); | 180 | int __must_check sysfs_init(void); |
185 | 181 | ||
@@ -339,19 +335,11 @@ static inline void sysfs_put(struct sysfs_dirent *sd) | |||
339 | { | 335 | { |
340 | } | 336 | } |
341 | 337 | ||
342 | static inline void sysfs_exit_ns(int type, const void *tag) | ||
343 | { | ||
344 | } | ||
345 | |||
346 | static inline int __must_check sysfs_init(void) | 338 | static inline int __must_check sysfs_init(void) |
347 | { | 339 | { |
348 | return 0; | 340 | return 0; |
349 | } | 341 | } |
350 | 342 | ||
351 | static inline void sysfs_printk_last_file(void) | ||
352 | { | ||
353 | } | ||
354 | |||
355 | #endif /* CONFIG_SYSFS */ | 343 | #endif /* CONFIG_SYSFS */ |
356 | 344 | ||
357 | #endif /* _SYSFS_H_ */ | 345 | #endif /* _SYSFS_H_ */ |