diff options
Diffstat (limited to 'net/tipc/msg.h')
-rw-r--r-- | net/tipc/msg.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h index 559b73a9bf35..76d1269b9443 100644 --- a/net/tipc/msg.h +++ b/net/tipc/msg.h | |||
@@ -554,12 +554,6 @@ static inline void msg_set_last_bcast(struct tipc_msg *m, u32 n) | |||
554 | msg_set_bits(m, 4, 16, 0xffff, n); | 554 | msg_set_bits(m, 4, 16, 0xffff, n); |
555 | } | 555 | } |
556 | 556 | ||
557 | |||
558 | static inline u32 msg_fragm_no(struct tipc_msg *m) | ||
559 | { | ||
560 | return msg_bits(m, 4, 16, 0xffff); | ||
561 | } | ||
562 | |||
563 | static inline void msg_set_fragm_no(struct tipc_msg *m, u32 n) | 557 | static inline void msg_set_fragm_no(struct tipc_msg *m, u32 n) |
564 | { | 558 | { |
565 | msg_set_bits(m, 4, 16, 0xffff, n); | 559 | msg_set_bits(m, 4, 16, 0xffff, n); |
@@ -576,12 +570,6 @@ static inline void msg_set_next_sent(struct tipc_msg *m, u32 n) | |||
576 | msg_set_bits(m, 4, 0, 0xffff, n); | 570 | msg_set_bits(m, 4, 0, 0xffff, n); |
577 | } | 571 | } |
578 | 572 | ||
579 | |||
580 | static inline u32 msg_long_msgno(struct tipc_msg *m) | ||
581 | { | ||
582 | return msg_bits(m, 4, 0, 0xffff); | ||
583 | } | ||
584 | |||
585 | static inline void msg_set_long_msgno(struct tipc_msg *m, u32 n) | 573 | static inline void msg_set_long_msgno(struct tipc_msg *m, u32 n) |
586 | { | 574 | { |
587 | msg_set_bits(m, 4, 0, 0xffff, n); | 575 | msg_set_bits(m, 4, 0, 0xffff, n); |