From: Jani Nikula Date: Fri, 10 Jun 2016 08:28:13 +0000 (+0300) Subject: kernel-doc: remove old debug cruft from dump_section() X-Git-Tag: v4.14-rc1~2679^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5668604a6cab13dd5385b8c03a7d55bf92ff0496;p=platform%2Fkernel%2Flinux-rpi.git kernel-doc: remove old debug cruft from dump_section() No functional changes. Signed-off-by: Jani Nikula --- diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 27757c21..ac18eb5 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -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;