aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-30 15:29:02 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-30 15:53:56 -0400
commit617d3c7a50b3dc15f558d60013047aede79dc055 (patch)
tree03908b63390eae5046618595b29f9ff30aea667a /net/tipc/core.c
parentaad585473fe1e4b07f2ec1e2432475937f90c385 (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/core.c')
-rw-r--r--net/tipc/core.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c
index ba089407b2f..f7b95239ebd 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -52,14 +52,12 @@
52#endif 52#endif
53 53
54/* global variables used by multiple sub-systems within TIPC */ 54/* global variables used by multiple sub-systems within TIPC */
55
56int tipc_random; 55int tipc_random;
57 56
58const char tipc_alphabet[] = 57const char tipc_alphabet[] =
59 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_."; 58 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.";
60 59
61/* configurable TIPC parameters */ 60/* configurable TIPC parameters */
62
63u32 tipc_own_addr; 61u32 tipc_own_addr;
64int tipc_max_ports; 62int tipc_max_ports;
65int tipc_max_subscriptions; 63int tipc_max_subscriptions;
@@ -77,7 +75,6 @@ int tipc_remote_management;
77 * NOTE: Headroom is reserved to allow prepending of a data link header. 75 * NOTE: Headroom is reserved to allow prepending of a data link header.
78 * There may also be unrequested tailroom present at the buffer's end. 76 * There may also be unrequested tailroom present at the buffer's end.
79 */ 77 */
80
81struct sk_buff *tipc_buf_acquire(u32 size) 78struct sk_buff *tipc_buf_acquire(u32 size)
82{ 79{
83 struct sk_buff *skb; 80 struct sk_buff *skb;
@@ -95,7 +92,6 @@ struct sk_buff *tipc_buf_acquire(u32 size)
95/** 92/**
96 * tipc_core_stop_net - shut down TIPC networking sub-systems 93 * tipc_core_stop_net - shut down TIPC networking sub-systems
97 */ 94 */
98
99static void tipc_core_stop_net(void) 95static void tipc_core_stop_net(void)
100{ 96{
101 tipc_net_stop(); 97 tipc_net_stop();
@@ -105,7 +101,6 @@ static void tipc_core_stop_net(void)
105/** 101/**
106 * start_net - start TIPC networking sub-systems 102 * start_net - start TIPC networking sub-systems
107 */ 103 */
108
109int tipc_core_start_net(unsigned long addr) 104int tipc_core_start_net(unsigned long addr)
110{ 105{
111 int res; 106 int res;
@@ -121,7 +116,6 @@ int tipc_core_start_net(unsigned long addr)
121/** 116/**
122 * tipc_core_stop - switch TIPC from SINGLE NODE to NOT RUNNING mode 117 * tipc_core_stop - switch TIPC from SINGLE NODE to NOT RUNNING mode
123 */ 118 */
124
125static void tipc_core_stop(void) 119static void tipc_core_stop(void)
126{ 120{
127 tipc_netlink_stop(); 121 tipc_netlink_stop();
@@ -137,7 +131,6 @@ static void tipc_core_stop(void)
137/** 131/**
138 * tipc_core_start - switch TIPC from NOT RUNNING to SINGLE NODE mode 132 * tipc_core_start - switch TIPC from NOT RUNNING to SINGLE NODE mode
139 */ 133 */
140
141static int tipc_core_start(void) 134static int tipc_core_start(void)
142{ 135{
143 int res; 136 int res;