Commit d9a7a2bd authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Sam Ravnborg

checkincludes.pl: close file as soon as we're done with it

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 7db86dc9
......@@ -14,11 +14,11 @@ foreach $file (@ARGV) {
}
}
close(FILE);
foreach $filename (keys %includedfiles) {
if ($includedfiles{$filename} > 1) {
print "$file: $filename is included more than once.\n";
}
}
close(FILE);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment