]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/tipc/bcast.h
[TIPC]: Kill unused static inline (x5)
[linux-2.6-omap-h63xx.git] / net / tipc / bcast.h
index 0e3be2ab330731cf1e127bf3b886c082ebdf16b3..a2416fa6b90688752ea67dddefa9642244281565 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * net/tipc/bcast.h: Include file for TIPC broadcast code
- * 
+ *
  * Copyright (c) 2003-2006, Ericsson AB
  * Copyright (c) 2005, Wind River Systems
  * All rights reserved.
@@ -73,19 +73,6 @@ struct node;
 extern char tipc_bclink_name[];
 
 
-/**
- * nmap_get - determine if node exists in a node map
- */
-
-static inline int tipc_nmap_get(struct node_map *nm_ptr, u32 node)
-{
-       int n = tipc_node(node);
-       int w = n / WSIZE;
-       int b = n % WSIZE;
-
-       return nm_ptr->map[w] & (1 << b);
-}
-
 /**
  * nmap_add - add a node to a node map
  */
@@ -102,7 +89,7 @@ static inline void tipc_nmap_add(struct node_map *nm_ptr, u32 node)
        }
 }
 
-/** 
+/**
  * nmap_remove - remove a node from a node map
  */
 
@@ -180,7 +167,7 @@ static inline void tipc_port_list_add(struct port_list *pl_ptr, u32 port)
                if (!item->next) {
                        item->next = kmalloc(sizeof(*item), GFP_ATOMIC);
                        if (!item->next) {
-                               warn("Memory squeeze: multicast destination port list is incomplete\n");
+                               warn("Incomplete multicast delivery, no memory\n");
                                return;
                        }
                        item->next->next = NULL;
@@ -190,7 +177,7 @@ static inline void tipc_port_list_add(struct port_list *pl_ptr, u32 port)
 
 /**
  * port_list_free - free dynamically created entries in port_list chain
- * 
+ *
  * Note: First item is on stack, so it doesn't need to be released
  */