kernel-doc: remove old debug cruft from dump_section()
authorJani Nikula <jani.nikula@intel.com>
Fri, 10 Jun 2016 08:28:13 +0000 (11:28 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 10 Jun 2016 08:29:05 +0000 (11:29 +0300)
No functional changes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
scripts/kernel-doc

index 27757c21551aecf804aa95ccd56434c9a33c3832..ac18eb5ed7767053a730dcd2bb6e5bb722b3b134 100755 (executable)
@@ -529,21 +529,18 @@ sub dump_section {
     my $contents = join "\n", @_;
 
     if ($name =~ m/$type_param/) {
-#      print STDERR "parameter def '$1' = '$contents'\n";
        $name = $1;
        $parameterdescs{$name} = $contents;
        $sectcheck = $sectcheck . $name . " ";
         $parameterdesc_start_lines{$name} = $new_start_line;
         $new_start_line = 0;
     } elsif ($name eq "@\.\.\.") {
-#      print STDERR "parameter def '...' = '$contents'\n";
        $name = "...";
        $parameterdescs{$name} = $contents;
        $sectcheck = $sectcheck . $name . " ";
         $parameterdesc_start_lines{$name} = $new_start_line;
         $new_start_line = 0;
     } else {
-#      print STDERR "other section '$name' = '$contents'\n";
        if (defined($sections{$name}) && ($sections{$name} ne "")) {
            print STDERR "${file}:$.: warning: duplicate section name '$name'\n";
            ++$warnings;