[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: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
9c7fff6ef3
commit
32e794015a
@ -1518,6 +1518,9 @@ sub dump_function($$) {
|
||||
$prototype =~ s/^asmlinkage +//;
|
||||
$prototype =~ s/^inline +//;
|
||||
$prototype =~ s/^__inline__ +//;
|
||||
$prototype =~ s/^__inline +//;
|
||||
$prototype =~ s/^__always_inline +//;
|
||||
$prototype =~ s/^noinline +//;
|
||||
$prototype =~ s/__devinit +//;
|
||||
$prototype =~ s/^#define +//; #ak added
|
||||
$prototype =~ s/__attribute__ \(\([a-z,]*\)\)//;
|
||||
|
Loading…
Reference in New Issue
Block a user