diff options
| author | Matthew Wilcox <mawilcox@microsoft.com> | 2018-03-15 08:06:23 -0400 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2018-03-21 11:04:38 -0400 |
| commit | 0891f959935203e6c0e6c3e62968da56eedba6bf (patch) | |
| tree | 2bad75aee281cde84891d9fb79df8cc7313d1ece /scripts/kernel-doc | |
| parent | 4b290af0b3a4cca68eaf80f8cf44d3cda3fe6744 (diff) | |
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-x | scripts/kernel-doc | 1 |
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($$) { | |||
| 1578 | $prototype =~ s/__meminit +//; | 1578 | $prototype =~ s/__meminit +//; |
| 1579 | $prototype =~ s/__must_check +//; | 1579 | $prototype =~ s/__must_check +//; |
| 1580 | $prototype =~ s/__weak +//; | 1580 | $prototype =~ s/__weak +//; |
| 1581 | $prototype =~ s/__sched +//; | ||
| 1581 | my $define = $prototype =~ s/^#\s*define\s+//; #ak added | 1582 | my $define = $prototype =~ s/^#\s*define\s+//; #ak added |
| 1582 | $prototype =~ s/__attribute__\s*\(\( | 1583 | $prototype =~ s/__attribute__\s*\(\( |
| 1583 | (?: | 1584 | (?: |
