Skip to content

Commit

Permalink
kernel-doc: Remove __sched markings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
Matthew Wilcox authored and Jonathan Corbet committed Mar 21, 2018
1 parent 4b290af commit 0891f95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/kernel-doc
Original file line number Diff line number Diff line change
Expand Up @@ -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*\(\(
(?:
Expand Down

0 comments on commit 0891f95

Please sign in to comment.