aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r--net/tipc/node.c2
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);
58 * entries has been chosen so that no hash chain exceeds 8 nodes and will 58 * entries has been chosen so that no hash chain exceeds 8 nodes and will
59 * usually be much smaller (typically only a single node). 59 * usually be much smaller (typically only a single node).
60 */ 60 */
61static inline unsigned int tipc_hashfn(u32 addr) 61static unsigned int tipc_hashfn(u32 addr)
62{ 62{
63 return addr & (NODE_HTABLE_SIZE - 1); 63 return addr & (NODE_HTABLE_SIZE - 1);
64} 64}