linux/net/tipc
Sam Ravnborg 05790c6456 [TIPC]: Remove inlines from *.c
With reference to latest discussions on linux-kernel with respect to
inline here is a patch for tipc to remove all inlines as used in
the .c files. See also chapter 14 in Documentation/CodingStyle.

Before:
   text        data     bss     dec     hex filename
 102990        5292    1752  110034   1add2 tipc.o

Now:
   text        data     bss     dec     hex filename
 101190        5292    1752  108234   1a6ca tipc.o

This is a nice text size reduction which will improve icache usage.
In some cases bigger (> 4 lines) functions where declared inline
and used in many places, they are most probarly no longer inlined by gcc
resulting in the size reduction.
There are several one liners that no longer are declared inline, but gcc
should inline these just fine without the inline hint.

With this patch applied one warning is added about an unused static
function - that was hidded by utilising inline before.
The function in question were kept so this patch is solely a
inline removal patch.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 22:37:04 -08:00
..
addr.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
addr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
bcast.c [TIPC]: Remove inlines from *.c 2006-03-20 22:37:04 -08:00
bcast.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
bearer.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
bearer.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
cluster.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
cluster.h [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
config.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
config.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
core.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
core.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
dbg.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
dbg.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
discover.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
discover.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
eth_media.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
handler.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
Kconfig [TIPC] Add help text for TIPC configuration option 2006-01-18 00:45:15 +01:00
link.c [TIPC]: Remove inlines from *.c 2006-03-20 22:37:04 -08:00
link.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
Makefile
msg.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
msg.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
name_distr.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
name_distr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
name_table.c [TIPC]: Remove inlines from *.c 2006-03-20 22:37:04 -08:00
name_table.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
net.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
net.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
netlink.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
node_subscr.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
node_subscr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
node.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
node.h [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
port.c [TIPC]: Remove inlines from *.c 2006-03-20 22:37:04 -08:00
port.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
ref.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
ref.h [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
socket.c [TIPC]: Remove inlines from *.c 2006-03-20 22:37:04 -08:00
subscr.c [TIPC]: Remove inlines from *.c 2006-03-20 22:37:04 -08:00
subscr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
user_reg.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
user_reg.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
zone.c [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
zone.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00