From: Stephen Martin Date: Thu, 20 Dec 2018 21:50:28 +0000 (-0800) Subject: sysfs: fix blank line coding style warning X-Git-Tag: v5.4.17~4087^2~64 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4bd4e92cfe6d2af77938c2a8ac6635c363dc0ac2;p=arm%2Flinux.git sysfs: fix blank line coding style warning Fixed a coding style issue. Signed-off-by: Stephen Martin Signed-off-by: Greg Kroah-Hartman --- 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]); }