mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
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
This commit is contained in:
parent
60804e5889
commit
d2a70e28ef
@ -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 =~ /([^\{]*)/) {
|
||||
|
Loading…
Reference in New Issue
Block a user