Messages in this thread Patch in this message | | | From | Stephen Martin <> | Subject | [PATCH] fix blank line warning | Date | Thu, 20 Dec 2018 13:50:28 -0800 |
| |
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
| |