diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-30 15:29:02 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-30 15:53:56 -0400 |
commit | 617d3c7a50b3dc15f558d60013047aede79dc055 (patch) | |
tree | 03908b63390eae5046618595b29f9ff30aea667a /net/tipc/link.h | |
parent | aad585473fe1e4b07f2ec1e2432475937f90c385 (diff) |
tipc: compress out gratuitous extra carriage returns
Some of the comment blocks are floating in limbo between two
functions, or between blocks of code. Delete the extra line
feeds between any comment and its associated following block
of code, to be consistent with the majority of the rest of
the kernel. Also delete trailing newlines at EOF and fix
a couple trivial typos in existing comments.
This is a 100% cosmetic change with no runtime impact. We get
rid of over 500 lines of non-code, and being blank line deletes,
they won't even show up as noise in git blame.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
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 73c18c140e1d..d6a60a963ce6 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; |