From: Allan Stephens Date: Wed, 9 Nov 2011 22:38:20 +0000 (-0500) Subject: tipc: Eliminate obsolete code for re-sending a message X-Git-Tag: v3.4-rc1~177^2~171^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e8ec1ae756de320644c69194898c53d247925586;p=karo-tx-linux.git tipc: Eliminate obsolete code for re-sending a message 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 Signed-off-by: Paul Gortmaker --- diff --git a/net/tipc/link.c b/net/tipc/link.c index f16e65dd50c0..b4b9b30167a3 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -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)) {