diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-23 04:49:13 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-24 00:41:03 -0400 |
commit | 872f24dbc604ef585ea7eec73020dcdfaffd1956 (patch) | |
tree | 1cc35d2485a3be001329f53a69ee7dcba86539d6 /net/tipc/node.c | |
parent | bfb253c9b277acd9f85b1886ff82b1dd5fbff2ae (diff) | |
download | linux-872f24dbc604ef585ea7eec73020dcdfaffd1956.tar.bz2 |
tipc: remove inline instances from C source files.
Untie gcc's hands and let it do what it wants within the
individual source files. There are two files, node.c and
port.c -- only the latter effectively changes (gcc-4.5.2).
Objdump shows gcc deciding to not inline port_peernode().
Suggested-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 6a71bea91db0..76565c9916ab 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -58,7 +58,7 @@ static atomic_t tipc_num_links = ATOMIC_INIT(0); * entries has been chosen so that no hash chain exceeds 8 nodes and will * usually be much smaller (typically only a single node). */ -static inline unsigned int tipc_hashfn(u32 addr) +static unsigned int tipc_hashfn(u32 addr) { return addr & (NODE_HTABLE_SIZE - 1); } |