Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266123
b: refs/heads/master
c: 94362c7
h: refs/heads/master
i:
  266121: b91d91d
  266119: d4f5d2e
v: v3
  • Loading branch information
Ying Xue authored and Paul Gortmaker committed Sep 18, 2011
1 parent f770c46 commit 2e3644a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e2447763c28b8b67af67e757508c1a05c2c85b9
refs/heads/master: 94362c7e49b2eccf9fe86112b8090939aa2f5355
1 change: 0 additions & 1 deletion trunk/net/tipc/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ struct sk_buff *tipc_cfg_do_cmd(u32 orig_node, u16 cmd,
const void *req_tlv_area, int req_tlv_space,
int headroom);

void tipc_cfg_link_event(u32 addr, char *name, int up);
int tipc_cfg_init(void);
void tipc_cfg_stop(void);

Expand Down
10 changes: 0 additions & 10 deletions trunk/net/tipc/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,6 @@ void tipc_link_stop(struct link *l_ptr)
l_ptr->proto_msg_queue = NULL;
}

/* LINK EVENT CODE IS NOT SUPPORTED AT PRESENT */
#define link_send_event(fcn, l_ptr, up) do { } while (0)

void tipc_link_reset(struct link *l_ptr)
{
struct sk_buff *buf;
Expand Down Expand Up @@ -597,10 +594,6 @@ void tipc_link_reset(struct link *l_ptr)
l_ptr->fsm_msg_cnt = 0;
l_ptr->stale_count = 0;
link_reset_statistics(l_ptr);

link_send_event(tipc_cfg_link_event, l_ptr, 0);
if (!in_own_cluster(l_ptr->addr))
link_send_event(tipc_disc_link_event, l_ptr, 0);
}


Expand All @@ -609,9 +602,6 @@ static void link_activate(struct link *l_ptr)
l_ptr->next_in_no = l_ptr->stats.recv_info = 1;
tipc_node_link_up(l_ptr->owner, l_ptr);
tipc_bearer_add_dest(l_ptr->b_ptr, l_ptr->addr);
link_send_event(tipc_cfg_link_event, l_ptr, 1);
if (!in_own_cluster(l_ptr->addr))
link_send_event(tipc_disc_link_event, l_ptr, 1);
}

/**
Expand Down

0 comments on commit 2e3644a

Please sign in to comment.