summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysfs/file.c')
-rw-r--r--fs/sysfs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index 51398457fe00..52d9235e0291 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -497,6 +497,7 @@ bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr)
497void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr) 497void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr)
498{ 498{
499 int i; 499 int i;
500
500 for (i = 0; ptr[i]; i++) 501 for (i = 0; ptr[i]; i++)
501 sysfs_remove_file(kobj, ptr[i]); 502 sysfs_remove_file(kobj, ptr[i]);
502} 503}