diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 8afa88aaed965d5e64394767a6e48eaa22dfdfdf..96a762be57484c71ea4d4f13ae76f1614bb313d5 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1972,6 +1972,7 @@ sub process { } else { $dstat =~ s/^.\s*\#\s*define\s+$Ident\s*//; } + $dstat =~ s/$;//g; $dstat =~ s/\\\n.//g; $dstat =~ s/^\s*//s; $dstat =~ s/\s*$//s;