]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/tipc/addr.h
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / net / tipc / addr.h
index c1cc5724d8cc85f546cdb21eb2de110fd4c660e4..2490fadd0caf882c57910fa70cf3fc8491b18902 100644 (file)
 #ifndef _TIPC_ADDR_H
 #define _TIPC_ADDR_H
 
-static inline u32 own_node(void)
-{
-       return tipc_node(tipc_own_addr);
-}
-
-static inline u32 own_cluster(void)
-{
-       return tipc_cluster(tipc_own_addr);
-}
-
-static inline u32 own_zone(void)
-{
-       return tipc_zone(tipc_own_addr);
-}
-
 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
  *