aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/msg.h
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2011-01-25 14:39:59 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-02-23 18:05:22 -0500
commit2e07dda1659095115e5e36a2fed0fddc1e3ea1c8 (patch)
tree718f50cde6b29067f011744ed994addb21b2bb0e /net/tipc/msg.h
parent741de3e9ff6e07e908e1cad2eb03e29677fde093 (diff)
tipc: Remove unused message header field for requested number of links
Eliminates support for the "number of requested links" field in a neighbor discovery message. This field was never used and has been removed from the TIPC 2.0 protocol specification. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/msg.h')
-rw-r--r--net/tipc/msg.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h
index b1438c779455..9d643a1b7d22 100644
--- a/net/tipc/msg.h
+++ b/net/tipc/msg.h
@@ -567,16 +567,6 @@ static inline void msg_set_seq_gap(struct tipc_msg *m, u32 n)
567 msg_set_bits(m, 1, 16, 0x1fff, n); 567 msg_set_bits(m, 1, 16, 0x1fff, n);
568} 568}
569 569
570static inline u32 msg_req_links(struct tipc_msg *m)
571{
572 return msg_bits(m, 1, 16, 0xfff);
573}
574
575static inline void msg_set_req_links(struct tipc_msg *m, u32 n)
576{
577 msg_set_bits(m, 1, 16, 0xfff, n);
578}
579
580 570
581/* 571/*
582 * Word 2 572 * Word 2