summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2024-01-08 01:37:00 +0100
committerJonathan Corbet <corbet@lwn.net>2024-01-30 21:31:04 +0100
commitd2a70e28ef738765f9226731dfdb3b6c06565456 (patch)
tree6f9670eb805d6bbc36f5185de269fea6470c43a7 /scripts/kernel-doc
parentdocs: add blurb about target audience to maintainer-profile (diff)
downloadlinux-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-xscripts/kernel-doc2
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 =~ /([^\{]*)/) {