aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2011-07-27 02:06:29 -0400
committerJiri Kosina <jkosina@suse.cz>2011-09-15 08:50:49 -0400
commit699324871fcc3650f2023c5e36cb119a92d7894b (patch)
tree7115a8183a4fd00b6f0ea1ae3b8f3dfbcf1c454b /scripts
parentca4a04cf3dd0cecb5e7188ed7796cc55fc13aeb1 (diff)
treewide: remove extra semicolons from various parts of the kernel
This is a resend from the original, changing the title from PATCH to RFC(since this is a review for commit, and I should have put that the first go around). and also removing some of the commit's with ia64 and bash since it is significant. let me know if I might have missed anything etc.. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 9d761c95eca..14f6a90ca21 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2931,11 +2931,11 @@ sub process {
2931 } 2931 }
2932 } 2932 }
2933 if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) { 2933 if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) {
2934 my $herectx = $here . "\n";; 2934 my $herectx = $here . "\n";
2935 my $cnt = statement_rawlines($block); 2935 my $cnt = statement_rawlines($block);
2936 2936
2937 for (my $n = 0; $n < $cnt; $n++) { 2937 for (my $n = 0; $n < $cnt; $n++) {
2938 $herectx .= raw_line($linenr, $n) . "\n";; 2938 $herectx .= raw_line($linenr, $n) . "\n";
2939 } 2939 }
2940 2940
2941 WARN("BRACES", 2941 WARN("BRACES",