summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorStephen Martin <lockwood@opperline.com>2018-12-20 13:50:28 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-18 16:45:17 +0100
commit4bd4e92cfe6d2af77938c2a8ac6635c363dc0ac2 (patch)
treece4e7f15d0230288a2c69d290563e62437f336da /fs/sysfs
parentbdfe0df1e97beedc15f68ee6556830548e81f63f (diff)
downloadlinux-4bd4e92cfe6d2af77938c2a8ac6635c363dc0ac2.tar.gz
linux-4bd4e92cfe6d2af77938c2a8ac6635c363dc0ac2.tar.bz2
linux-4bd4e92cfe6d2af77938c2a8ac6635c363dc0ac2.zip
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]);
}