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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h
index d5c83d7ecb47..1a52f7cf3cd3 100644
--- a/net/tipc/msg.h
+++ b/net/tipc/msg.h
@@ -77,12 +77,10 @@
77 77
78#define TIPC_MEDIA_ADDR_OFFSET 5 78#define TIPC_MEDIA_ADDR_OFFSET 5
79 79
80
81struct tipc_msg { 80struct tipc_msg {
82 __be32 hdr[15]; 81 __be32 hdr[15];
83}; 82};
84 83
85
86static inline u32 msg_word(struct tipc_msg *m, u32 pos) 84static inline u32 msg_word(struct tipc_msg *m, u32 pos)
87{ 85{
88 return ntohl(m->hdr[pos]); 86 return ntohl(m->hdr[pos]);