aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/msg.h')
-rw-r--r--net/tipc/msg.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h
index 6948d3dbab0b..bea0126cb676 100644
--- a/net/tipc/msg.h
+++ b/net/tipc/msg.h
@@ -719,14 +719,9 @@ static inline u32 msg_redundant_link(struct tipc_msg *m)
719 return msg_bits(m, 5, 12, 0x1); 719 return msg_bits(m, 5, 12, 0x1);
720} 720}
721 721
722static inline void msg_set_redundant_link(struct tipc_msg *m) 722static inline void msg_set_redundant_link(struct tipc_msg *m, u32 r)
723{ 723{
724 msg_set_bits(m, 5, 12, 0x1, 1); 724 msg_set_bits(m, 5, 12, 0x1, r);
725}
726
727static inline void msg_clear_redundant_link(struct tipc_msg *m)
728{
729 msg_set_bits(m, 5, 12, 0x1, 0);
730} 725}
731 726
732 727