summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-06-10 10:28:13 +0200
committerJani Nikula <jani.nikula@intel.com>2016-06-10 10:29:05 +0200
commit5668604a6cab13dd5385b8c03a7d55bf92ff0496 (patch)
tree3ef8c34f7f57cb0b585ddf6547691e74468751f4 /scripts/kernel-doc
parentdocs: kernel-doc: Add "example" and "note" to the magic section types (diff)
downloadlinux-5668604a6cab13dd5385b8c03a7d55bf92ff0496.tar.xz
linux-5668604a6cab13dd5385b8c03a7d55bf92ff0496.zip
kernel-doc: remove old debug cruft from dump_section()
No functional changes. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 27757c21551a..ac18eb5ed776 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;