summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2018-03-15 13:06:23 +0100
committerJonathan Corbet <corbet@lwn.net>2018-03-21 16:04:38 +0100
commit0891f959935203e6c0e6c3e62968da56eedba6bf (patch)
tree2bad75aee281cde84891d9fb79df8cc7313d1ece /scripts/kernel-doc
parentDocs: Added a pointer to the formatted docs to README (diff)
downloadlinux-0891f959935203e6c0e6c3e62968da56eedba6bf.tar.xz
linux-0891f959935203e6c0e6c3e62968da56eedba6bf.zip
kernel-doc: Remove __sched markings
I find the __sched annotations unaesthetic in the kernel-doc. Remove them like we remove __inline, __weak, __init and so on. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index ae3cac118a11..eb986a7809d3 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1578,6 +1578,7 @@ sub dump_function($$) {
$prototype =~ s/__meminit +//;
$prototype =~ s/__must_check +//;
$prototype =~ s/__weak +//;
+ $prototype =~ s/__sched +//;
my $define = $prototype =~ s/^#\s*define\s+//; #ak added
$prototype =~ s/__attribute__\s*\(\(
(?: