kernel-doc: Remove __sched markings
authorMatthew Wilcox <mawilcox@microsoft.com>
Thu, 15 Mar 2018 12:06:23 +0000 (05:06 -0700)
committerJonathan Corbet <corbet@lwn.net>
Wed, 21 Mar 2018 15:04:38 +0000 (09:04 -0600)
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>
scripts/kernel-doc

index ae3cac1..eb986a7 100755 (executable)
@@ -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*\(\(
             (?: