Commit 32e79401 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

[PATCH] kernel-doc: drop various "inline" qualifiers



Drop __inline, __always_inline, and noinline in the produced kernel-doc
output, similar to other pseudo directives.
Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9c7fff6e
...@@ -1518,6 +1518,9 @@ sub dump_function($$) { ...@@ -1518,6 +1518,9 @@ sub dump_function($$) {
$prototype =~ s/^asmlinkage +//; $prototype =~ s/^asmlinkage +//;
$prototype =~ s/^inline +//; $prototype =~ s/^inline +//;
$prototype =~ s/^__inline__ +//; $prototype =~ s/^__inline__ +//;
$prototype =~ s/^__inline +//;
$prototype =~ s/^__always_inline +//;
$prototype =~ s/^noinline +//;
$prototype =~ s/__devinit +//; $prototype =~ s/__devinit +//;
$prototype =~ s/^#define +//; #ak added $prototype =~ s/^#define +//; #ak added
$prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment