From: Randy Dunlap Date: Wed, 11 Oct 2006 08:22:10 +0000 (-0700) Subject: [PATCH] kernel-doc: drop various "inline" qualifiers X-Git-Tag: v2.6.19-rc2~55 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=32e794015aa698fd6bf1ec21b713f900a707fb15;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 00d1ad19b2c..7bc53a94faa 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -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,]*\)\)//;