summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-11-09 17:38:20 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-29 11:45:01 -0500
commite8ec1ae756de320644c69194898c53d247925586 (patch)
tree91f9f745746043187456cf1207cd562053b0ee65 /net/tipc
parent9b641251aee1a804169a17fe4236a50188894994 (diff)
downloadop-kernel-dev-e8ec1ae756de320644c69194898c53d247925586.zip
op-kernel-dev-e8ec1ae756de320644c69194898c53d247925586.tar.gz
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 <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/link.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c
index f16e65d..b4b9b30 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)) {
OpenPOWER on IntegriCloud