diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 18:59:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 13:57:48 -0800 |
commit | 08c80e9a031df0a8f0269477a32f5eae47d7a146 (patch) | |
tree | 87a20adf19603edfafabc0b138a2992a0cbe6481 /net/tipc/addr.h | |
parent | 51f98a8d70583b18cb08b19353aeed5efb0244af (diff) | |
download | kernel_samsung_aries-08c80e9a031df0a8f0269477a32f5eae47d7a146.zip kernel_samsung_aries-08c80e9a031df0a8f0269477a32f5eae47d7a146.tar.gz kernel_samsung_aries-08c80e9a031df0a8f0269477a32f5eae47d7a146.tar.bz2 |
tipc: Remove prototype code for supporting slave nodes
Simplifies routines and data structures that were intended to allow
TIPC to support slave nodes (i.e. nodes that did not have links to
all of the other nodes in its cluster, forcing TIPC to route messages
that it could not deliver directly through a non-slave node).
Currently, TIPC supports only networks containing non-slave nodes,
so this code is unnecessary.
Note: The latest edition of the TIPC 2.0 Specification has eliminated
the concept of slave nodes entirely.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/addr.h')
-rw-r--r-- | net/tipc/addr.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/net/tipc/addr.h b/net/tipc/addr.h index c1cc572..a16c6c8 100644 --- a/net/tipc/addr.h +++ b/net/tipc/addr.h @@ -57,16 +57,6 @@ static inline int in_own_cluster(u32 addr) return !((addr ^ tipc_own_addr) >> 12); } -static inline int is_slave(u32 addr) -{ - return addr & 0x800; -} - -static inline int may_route(u32 addr) -{ - return(addr ^ tipc_own_addr) >> 11; -} - /** * addr_domain - convert 2-bit scope value to equivalent message lookup domain * |