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/addr.c | |
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/addr.c')
-rw-r--r-- | net/tipc/addr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/addr.c b/net/tipc/addr.c index a6fdab33877e..357b74b26f9e 100644 --- a/net/tipc/addr.c +++ b/net/tipc/addr.c | |||
@@ -45,7 +45,6 @@ | |||
45 | * | 45 | * |
46 | * Returns 1 if domain address is valid, otherwise 0 | 46 | * Returns 1 if domain address is valid, otherwise 0 |
47 | */ | 47 | */ |
48 | |||
49 | int tipc_addr_domain_valid(u32 addr) | 48 | int tipc_addr_domain_valid(u32 addr) |
50 | { | 49 | { |
51 | u32 n = tipc_node(addr); | 50 | u32 n = tipc_node(addr); |
@@ -66,7 +65,6 @@ int tipc_addr_domain_valid(u32 addr) | |||
66 | * | 65 | * |
67 | * Returns 1 if address can be used, otherwise 0 | 66 | * Returns 1 if address can be used, otherwise 0 |
68 | */ | 67 | */ |
69 | |||
70 | int tipc_addr_node_valid(u32 addr) | 68 | int tipc_addr_node_valid(u32 addr) |
71 | { | 69 | { |
72 | return tipc_addr_domain_valid(addr) && tipc_node(addr); | 70 | return tipc_addr_domain_valid(addr) && tipc_node(addr); |
@@ -86,7 +84,6 @@ int tipc_in_scope(u32 domain, u32 addr) | |||
86 | /** | 84 | /** |
87 | * tipc_addr_scope - convert message lookup domain to a 2-bit scope value | 85 | * tipc_addr_scope - convert message lookup domain to a 2-bit scope value |
88 | */ | 86 | */ |
89 | |||
90 | int tipc_addr_scope(u32 domain) | 87 | int tipc_addr_scope(u32 domain) |
91 | { | 88 | { |
92 | if (likely(!domain)) | 89 | if (likely(!domain)) |