summaryrefslogtreecommitdiff
path: root/fs/sysfs
diff options
context:
space:
mode:
authorStephen Martin <lockwood@opperline.com>2018-12-21 00:50:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-18 18:45:17 +0300
commit4bd4e92cfe6d2af77938c2a8ac6635c363dc0ac2 (patch)
treece4e7f15d0230288a2c69d290563e62437f336da /fs/sysfs
parentbdfe0df1e97beedc15f68ee6556830548e81f63f (diff)
downloadlinux-4bd4e92cfe6d2af77938c2a8ac6635c363dc0ac2.tar.xz
sysfs: fix blank line coding style warning
Fixed a coding style issue. Signed-off-by: Stephen Martin <lockwood@opperline.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs')
-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)
void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr)
{
int i;
+
for (i = 0; ptr[i]; i++)
sysfs_remove_file(kobj, ptr[i]);
}