summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2018-03-15 05:06:23 -0700
committerJonathan Corbet <corbet@lwn.net>2018-03-21 09:04:38 -0600
commit0891f959935203e6c0e6c3e62968da56eedba6bf (patch)
tree2bad75aee281cde84891d9fb79df8cc7313d1ece /scripts
parent4b290af0b3a4cca68eaf80f8cf44d3cda3fe6744 (diff)
downloadlinux-0891f959935203e6c0e6c3e62968da56eedba6bf.tar.gz
linux-0891f959935203e6c0e6c3e62968da56eedba6bf.tar.bz2
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')
-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*\(\(
(?: