Skip to content

Commit

Permalink
tipc: Eliminate obsolete code for re-sending a message
Browse files Browse the repository at this point in the history
Removes code that updated the "previous node" field of an out-going
message over TIPC's links. Such updating is unnecessary since the
removal of the prototype multi-cluster capability means that all
outgoing messages are generated locally and already have this field
populated correctly.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
  • Loading branch information
Allan Stephens authored and Paul Gortmaker committed Feb 29, 2012
1 parent 9b64125 commit e8ec1ae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/tipc/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -871,8 +871,6 @@ int tipc_link_send_buf(struct tipc_link *l_ptr, struct sk_buff *buf)
u32 queue_limit = l_ptr->queue_limit[imp];
u32 max_packet = l_ptr->max_pkt;

msg_set_prevnode(msg, tipc_own_addr); /* If routed message */

/* Match msg importance against queue limits: */

if (unlikely(queue_size >= queue_limit)) {
Expand Down

0 comments on commit e8ec1ae

Please sign in to comment.