]> err.no Git - linux-2.6/commit
[ALSA] sound/pci/rme9652/hdspm.c: stop inlining largish static functions
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 14 Apr 2008 11:04:18 +0000 (13:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:33 +0000 (12:00 +0200)
commit62cef8212ffa9df3e6c5b358ea2382d90489d590
tree1154407c4096fd90fbce4622a100ab67b7100b6e
parent32f4876e62d5caba712ca76d96b0018dcc0f9601
[ALSA] sound/pci/rme9652/hdspm.c: stop inlining largish static functions

sound/pci/rme9652/hdspm.c has unusually large number of static inline
functions - 22.

I looked through them and some of them seem to be too big to warrant inlining.

This patch removes "inline" from these static functions (regardless of number
of callsites - gcc nowadays auto-inlines statics with one callsite).

Size difference on 32bit x86:
   text    data     bss     dec     hex filename
  20437    2160     516   23113    5a49 linux-2.6-ALLYES/sound/pci/rme9652/hdspm.o
  18036    2160     516   20712    50e8 linux-2.6.inline-ALLYES/sound/pci/rme9652/hdspm.o

[coding fix by Takashi Iwai <tiwai@suse.de>]

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c