diff options
Diffstat (limited to 'net/tipc/discover.c')
| -rw-r--r-- | net/tipc/discover.c | 14 | 
1 files changed, 0 insertions, 14 deletions
diff --git a/net/tipc/discover.c b/net/tipc/discover.c index c630a21b2be..ae054cfe179 100644 --- a/net/tipc/discover.c +++ b/net/tipc/discover.c @@ -70,7 +70,6 @@ struct tipc_link_req {   * @dest_domain: network domain of node(s) which should respond to message   * @b_ptr: ptr to bearer issuing message   */ -  static struct sk_buff *tipc_disc_init_msg(u32 type,  					  u32 dest_domain,  					  struct tipc_bearer *b_ptr) @@ -96,7 +95,6 @@ static struct sk_buff *tipc_disc_init_msg(u32 type,   * @node_addr: duplicated node address   * @media_addr: media address advertised by duplicated node   */ -  static void disc_dupl_alert(struct tipc_bearer *b_ptr, u32 node_addr,  			    struct tipc_media_addr *media_addr)  { @@ -117,7 +115,6 @@ static void disc_dupl_alert(struct tipc_bearer *b_ptr, u32 node_addr,   * @buf: buffer containing message   * @b_ptr: bearer that message arrived on   */ -  void tipc_disc_recv_msg(struct sk_buff *buf, struct tipc_bearer *b_ptr)  {  	struct tipc_node *n_ptr; @@ -221,7 +218,6 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct tipc_bearer *b_ptr)  	 * the new media address and reset the link to ensure it starts up  	 * cleanly.  	 */ -  	if (addr_mismatch) {  		if (tipc_link_is_up(link)) {  			disc_dupl_alert(b_ptr, orig, &media_addr); @@ -264,7 +260,6 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct tipc_bearer *b_ptr)   * Reinitiates discovery process if discovery object has no associated nodes   * and is either not currently searching or is searching at a slow rate   */ -  static void disc_update(struct tipc_link_req *req)  {  	if (!req->num_nodes) { @@ -280,7 +275,6 @@ static void disc_update(struct tipc_link_req *req)   * tipc_disc_add_dest - increment set of discovered nodes   * @req: ptr to link request structure   */ -  void tipc_disc_add_dest(struct tipc_link_req *req)  {  	req->num_nodes++; @@ -290,7 +284,6 @@ void tipc_disc_add_dest(struct tipc_link_req *req)   * tipc_disc_remove_dest - decrement set of discovered nodes   * @req: ptr to link request structure   */ -  void tipc_disc_remove_dest(struct tipc_link_req *req)  {  	req->num_nodes--; @@ -301,7 +294,6 @@ void tipc_disc_remove_dest(struct tipc_link_req *req)   * disc_send_msg - send link setup request message   * @req: ptr to link request structure   */ -  static void disc_send_msg(struct tipc_link_req *req)  {  	if (!req->bearer->blocked) @@ -314,7 +306,6 @@ static void disc_send_msg(struct tipc_link_req *req)   *   * Called whenever a link setup request timer associated with a bearer expires.   */ -  static void disc_timeout(struct tipc_link_req *req)  {  	int max_delay; @@ -322,7 +313,6 @@ static void disc_timeout(struct tipc_link_req *req)  	spin_lock_bh(&req->bearer->lock);  	/* Stop searching if only desired node has been found */ -  	if (tipc_node(req->domain) && req->num_nodes) {  		req->timer_intv = TIPC_LINK_REQ_INACTIVE;  		goto exit; @@ -335,7 +325,6 @@ static void disc_timeout(struct tipc_link_req *req)  	 * hold at fast polling rate if don't have any associated nodes,  	 * otherwise hold at slow polling rate  	 */ -  	disc_send_msg(req);  	req->timer_intv *= 2; @@ -359,7 +348,6 @@ exit:   *   * Returns 0 if successful, otherwise -errno.   */ -  int tipc_disc_create(struct tipc_bearer *b_ptr,  		     struct tipc_media_addr *dest, u32 dest_domain)  { @@ -391,7 +379,6 @@ int tipc_disc_create(struct tipc_bearer *b_ptr,   * tipc_disc_delete - destroy object sending periodic link setup requests   * @req: ptr to link request structure   */ -  void tipc_disc_delete(struct tipc_link_req *req)  {  	k_cancel_timer(&req->timer); @@ -399,4 +386,3 @@ void tipc_disc_delete(struct tipc_link_req *req)  	kfree_skb(req->buf);  	kfree(req);  } -  |