From 3ecbef8e51e5abb095c1caf3a14ede0930d43ea7 Mon Sep 17 00:00:00 2001 From: Allan Stephens Date: Tue, 24 May 2011 14:44:56 -0400 Subject: [PATCH] --- yaml --- r: 255915 b: refs/heads/master c: 74d33b32deaa9ec864d6db3255b3a17a459f75fe h: refs/heads/master i: 255913: 73c0239162acc5bdfcfb57c42e3030c5c08d1923 255911: a1d60146f4c17f3d67e208d446e10c389438df5d v: v3 --- [refs] | 2 +- trunk/net/tipc/msg.h | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/[refs] b/[refs] index 19139ac2d0c4..bcfd16628863 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7dd1bf28ccc44ef205c64aab618863faa914daa9 +refs/heads/master: 74d33b32deaa9ec864d6db3255b3a17a459f75fe diff --git a/trunk/net/tipc/msg.h b/trunk/net/tipc/msg.h index 8452454731fa..11b74dc253f5 100644 --- a/trunk/net/tipc/msg.h +++ b/trunk/net/tipc/msg.h @@ -310,26 +310,6 @@ static inline void msg_set_seqno(struct tipc_msg *m, u32 n) msg_set_bits(m, 2, 0, 0xffff, n); } -/* - * TIPC may utilize the "link ack #" and "link seq #" fields of a short - * message header to hold the destination node for the message, since the - * normal "dest node" field isn't present. This cache is only referenced - * when required, so populating the cache of a longer message header is - * harmless (as long as the header has the two link sequence fields present). - * - * Note: Host byte order is OK here, since the info never goes off-card. - */ - -static inline u32 msg_destnode_cache(struct tipc_msg *m) -{ - return m->hdr[2]; -} - -static inline void msg_set_destnode_cache(struct tipc_msg *m, u32 dnode) -{ - m->hdr[2] = dnode; -} - /* * Words 3-10 */