summaryrefslogtreecommitdiff
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)
msg_set_bits(m, 1, 16, 0x1fff, n);
}
-static inline u32 msg_req_links(struct tipc_msg *m)
-{
- return msg_bits(m, 1, 16, 0xfff);
-}
-
-static inline void msg_set_req_links(struct tipc_msg *m, u32 n)
-{
- msg_set_bits(m, 1, 16, 0xfff, n);
-}
-
/*
* Word 2