summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2024-01-07 16:37:00 -0800
committerJonathan Corbet <corbet@lwn.net>2024-01-30 13:31:04 -0700
commitd2a70e28ef738765f9226731dfdb3b6c06565456 (patch)
tree6f9670eb805d6bbc36f5185de269fea6470c43a7 /scripts/kernel-doc
parent60804e5889fe3b87d71be9b50322cfacf21117e1 (diff)
downloadlinux-d2a70e28ef738765f9226731dfdb3b6c06565456.tar.gz
linux-d2a70e28ef738765f9226731dfdb3b6c06565456.tar.bz2
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 'scripts/kernel-doc')
-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 =~ /([^\{]*)/) {