lkml.org 
[lkml]   [2018]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fix blank line warning
Date
Fixed a coding style issue.

Signed-off-by: Stephen Martin <lockwood@opperline.com>
---
fs/sysfs/file.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index 0a7252aecfa5..4568cf52badc 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -496,6 +496,7 @@ bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr)
void sysfs_remove_files(struct kobject *kobj, const struct attribute **ptr)
{
int i;
+
for (i = 0; ptr[i]; i++)
sysfs_remove_file(kobj, ptr[i]);
}
--
2.20.0
\
 
 \ /
  Last update: 2018-12-20 22:53    [W:0.024 / U:30.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site