checkpatch.pl: be silent when -q and --ignore is given
[linux-flexiantxendom0-3.2.10.git] / scripts / checkpatch.pl
index 308e401..0ee37bf 100755 (executable)
@@ -3474,13 +3474,12 @@ sub process {
                }
        }
 
-       if (keys %ignore_type) {
+       if ($quiet == 0 && keys %ignore_type) {
            print "NOTE: Ignored message types:";
            foreach my $ignore (sort keys %ignore_type) {
                print " $ignore";
            }
-           print "\n";
-           print "\n" if ($quiet == 0);
+           print "\n\n";
        }
 
        if ($clean == 1 && $quiet == 0) {