diff options
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r-- | net/tipc/link.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h index 73c18c140e1..d6a60a963ce 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h | |||
@@ -47,13 +47,11 @@ | |||
47 | /* | 47 | /* |
48 | * Out-of-range value for link sequence numbers | 48 | * Out-of-range value for link sequence numbers |
49 | */ | 49 | */ |
50 | |||
51 | #define INVALID_LINK_SEQ 0x10000 | 50 | #define INVALID_LINK_SEQ 0x10000 |
52 | 51 | ||
53 | /* | 52 | /* |
54 | * Link states | 53 | * Link states |
55 | */ | 54 | */ |
56 | |||
57 | #define WORKING_WORKING 560810u | 55 | #define WORKING_WORKING 560810u |
58 | #define WORKING_UNKNOWN 560811u | 56 | #define WORKING_UNKNOWN 560811u |
59 | #define RESET_UNKNOWN 560812u | 57 | #define RESET_UNKNOWN 560812u |
@@ -63,7 +61,6 @@ | |||
63 | * Starting value for maximum packet size negotiation on unicast links | 61 | * Starting value for maximum packet size negotiation on unicast links |
64 | * (unless bearer MTU is less) | 62 | * (unless bearer MTU is less) |
65 | */ | 63 | */ |
66 | |||
67 | #define MAX_PKT_DEFAULT 1500 | 64 | #define MAX_PKT_DEFAULT 1500 |
68 | 65 | ||
69 | /** | 66 | /** |
@@ -114,7 +111,6 @@ | |||
114 | * @defragm_buf: list of partially reassembled inbound message fragments | 111 | * @defragm_buf: list of partially reassembled inbound message fragments |
115 | * @stats: collects statistics regarding link activity | 112 | * @stats: collects statistics regarding link activity |
116 | */ | 113 | */ |
117 | |||
118 | struct tipc_link { | 114 | struct tipc_link { |
119 | u32 addr; | 115 | u32 addr; |
120 | char name[TIPC_MAX_LINK_NAME]; | 116 | char name[TIPC_MAX_LINK_NAME]; |
@@ -255,7 +251,6 @@ void tipc_link_retransmit(struct tipc_link *l_ptr, | |||
255 | /* | 251 | /* |
256 | * Link sequence number manipulation routines (uses modulo 2**16 arithmetic) | 252 | * Link sequence number manipulation routines (uses modulo 2**16 arithmetic) |
257 | */ | 253 | */ |
258 | |||
259 | static inline u32 buf_seqno(struct sk_buff *buf) | 254 | static inline u32 buf_seqno(struct sk_buff *buf) |
260 | { | 255 | { |
261 | return msg_seqno(buf_msg(buf)); | 256 | return msg_seqno(buf_msg(buf)); |
@@ -294,7 +289,6 @@ static inline u32 lesser(u32 left, u32 right) | |||
294 | /* | 289 | /* |
295 | * Link status checking routines | 290 | * Link status checking routines |
296 | */ | 291 | */ |
297 | |||
298 | static inline int link_working_working(struct tipc_link *l_ptr) | 292 | static inline int link_working_working(struct tipc_link *l_ptr) |
299 | { | 293 | { |
300 | return l_ptr->state == WORKING_WORKING; | 294 | return l_ptr->state == WORKING_WORKING; |