diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2024-01-08 01:37:00 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2024-01-30 21:31:04 +0100 |
commit | d2a70e28ef738765f9226731dfdb3b6c06565456 (patch) | |
tree | 6f9670eb805d6bbc36f5185de269fea6470c43a7 /scripts/kernel-doc | |
parent | docs: add blurb about target audience to maintainer-profile (diff) | |
download | linux-d2a70e28ef738765f9226731dfdb3b6c06565456.tar.xz linux-d2a70e28ef738765f9226731dfdb3b6c06565456.zip |
kernel-doc: drop looking for "MACDOC"
Linux kernel does not use "MACDOC" in any documenation or any
source files, so stop searching for it.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240108003700.13418-1-rdunlap@infradead.org
Diffstat (limited to '')
-rwxr-xr-x | scripts/kernel-doc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 4277af79de86..915e7bd97486 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1907,7 +1907,7 @@ sub process_proto_function($$) { $x =~ s@\/\/.*$@@gos; # strip C99-style comments to end of line - if ($x =~ m#\s*/\*\s+MACDOC\s*#io || ($x =~ /^#/ && $x !~ /^#\s*define/)) { + if ($x =~ /^#/ && $x !~ /^#\s*define/) { # do nothing } elsif ($x =~ /([^\{]*)/) { |