diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-11-30 07:00:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 16:34:03 -0500 |
commit | 528c771e87c3fa661bc6983b5bf0ba464d9f7c3a (patch) | |
tree | b30436a97091e0ac16119785bb644ab3b81f9cdf /net/tipc | |
parent | 28cc937eac00805e8b9c6e7ed7d590567378187f (diff) |
tipc: Delete useless function prototypes
Removes several function declarations that aren't used anywhere,
either because they reference routines that no longer exist or
because all users of the function reference it after it has already
been defined.
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')
-rw-r--r-- | net/tipc/bearer.h | 1 | ||||
-rw-r--r-- | net/tipc/cluster.c | 1 | ||||
-rw-r--r-- | net/tipc/node.c | 1 | ||||
-rw-r--r-- | net/tipc/port.h | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index 8dc0e9268a28..85f451d5aacf 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h | |||
@@ -192,7 +192,6 @@ void tipc_bearer_schedule(struct bearer *b_ptr, struct link *l_ptr); | |||
192 | struct bearer *tipc_bearer_find_interface(const char *if_name); | 192 | struct bearer *tipc_bearer_find_interface(const char *if_name); |
193 | int tipc_bearer_resolve_congestion(struct bearer *b_ptr, struct link *l_ptr); | 193 | int tipc_bearer_resolve_congestion(struct bearer *b_ptr, struct link *l_ptr); |
194 | int tipc_bearer_congested(struct bearer *b_ptr, struct link *l_ptr); | 194 | int tipc_bearer_congested(struct bearer *b_ptr, struct link *l_ptr); |
195 | int tipc_bearer_init(void); | ||
196 | void tipc_bearer_stop(void); | 195 | void tipc_bearer_stop(void); |
197 | void tipc_bearer_lock_push(struct bearer *b_ptr); | 196 | void tipc_bearer_lock_push(struct bearer *b_ptr); |
198 | 197 | ||
diff --git a/net/tipc/cluster.c b/net/tipc/cluster.c index ee251798d482..405be87157ba 100644 --- a/net/tipc/cluster.c +++ b/net/tipc/cluster.c | |||
@@ -40,7 +40,6 @@ | |||
40 | 40 | ||
41 | static void tipc_cltr_multicast(struct cluster *c_ptr, struct sk_buff *buf, | 41 | static void tipc_cltr_multicast(struct cluster *c_ptr, struct sk_buff *buf, |
42 | u32 lower, u32 upper); | 42 | u32 lower, u32 upper); |
43 | static struct sk_buff *tipc_cltr_prepare_routing_msg(u32 data_size, u32 dest); | ||
44 | 43 | ||
45 | struct tipc_node **tipc_local_nodes = NULL; | 44 | struct tipc_node **tipc_local_nodes = NULL; |
46 | struct tipc_node_map tipc_cltr_bcast_nodes = {0,{0,}}; | 45 | struct tipc_node_map tipc_cltr_bcast_nodes = {0,{0,}}; |
diff --git a/net/tipc/node.c b/net/tipc/node.c index bd959a855fd5..df71dfc3a9ae 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include "port.h" | 40 | #include "port.h" |
41 | #include "name_distr.h" | 41 | #include "name_distr.h" |
42 | 42 | ||
43 | void node_print(struct print_buf *buf, struct tipc_node *n_ptr, char *str); | ||
44 | static void node_lost_contact(struct tipc_node *n_ptr); | 43 | static void node_lost_contact(struct tipc_node *n_ptr); |
45 | static void node_established_contact(struct tipc_node *n_ptr); | 44 | static void node_established_contact(struct tipc_node *n_ptr); |
46 | 45 | ||
diff --git a/net/tipc/port.h b/net/tipc/port.h index e038ce1ef8e8..547cd6e00312 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h | |||
@@ -242,7 +242,6 @@ int tipc_port_reject_sections(struct port *p_ptr, struct tipc_msg *hdr, | |||
242 | struct iovec const *msg_sect, u32 num_sect, | 242 | struct iovec const *msg_sect, u32 num_sect, |
243 | int err); | 243 | int err); |
244 | struct sk_buff *tipc_port_get_ports(void); | 244 | struct sk_buff *tipc_port_get_ports(void); |
245 | struct sk_buff *port_show_stats(const void *req_tlv_area, int req_tlv_space); | ||
246 | void tipc_port_recv_proto_msg(struct sk_buff *buf); | 245 | void tipc_port_recv_proto_msg(struct sk_buff *buf); |
247 | void tipc_port_recv_mcast(struct sk_buff *buf, struct port_list *dp); | 246 | void tipc_port_recv_mcast(struct sk_buff *buf, struct port_list *dp); |
248 | void tipc_port_reinit(void); | 247 | void tipc_port_reinit(void); |