linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / net / tipc / node.h
index a07cc79..29f7ae6 100644 (file)
@@ -51,7 +51,6 @@
  * @nsub: list of "node down" subscriptions monitoring node
  * @active_links: pointers to active links to node
  * @links: pointers to all links to node
- * @working_links: number of working links to node (both active and standby)
  * @link_cnt: number of links to node
  * @permit_changeover: non-zero if node has redundant links to this system
  * @routers: bitmap (used for multicluster communication)
@@ -77,7 +76,6 @@ struct node {
        struct link *active_links[2];
        struct link *links[MAX_BEARERS];
        int link_cnt;
-       int working_links;
        int permit_changeover;
        u32 routers[512/32];
        int last_router;
@@ -123,7 +121,7 @@ static inline struct node *tipc_node_find(u32 addr)
                if (c_ptr)
                        return c_ptr->nodes[tipc_node(addr)];
        }
-       return NULL;
+       return 0;
 }
 
 static inline struct node *tipc_node_select(u32 addr, u32 selector)