]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ATM] drivers/atm/ambassador.c: stop inlining largish static functions
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 3 Apr 2008 21:59:55 +0000 (14:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2008 21:59:55 +0000 (14:59 -0700)
commita5b2db67139e991d9e9e19260989d0e66a03a2b2
tree8abd21f55e4a8d67449319b99c65bca0dd681d87
parent3bb5da3837cc1aa17736b05139c9a22c3794851a
[ATM] drivers/atm/ambassador.c: stop inlining largish static functions

drivers/atm/ambassador.c has unusually large number
of static inline functions - 22.

I looked through them and half 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 for 32bit x86:
   text    data     bss     dec     hex filename
  10209    8488       4   18701    490d linux-2.6-ALLYES/drivers/atm/ambassador.o
   9462    8488       4   17954    4622 linux-2.6.inline-ALLYES/drivers/atm/ambassador.o

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/ambassador.c