aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/bcast.c
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 13:59:34 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-01 16:57:57 -0500
commite3ec9c7d5eea9adf2c604c623c987360cc700b88 (patch)
tree0f17da131a7af8c66383d5a7f4bfa169f5b7e444 /net/tipc/bcast.c
parent2db9983a4318818845193bd577879c0620705e82 (diff)
tipc: remove zeroing assignments to static global variables
Cleans up TIPC's source code to eliminate the needless initialization of static variables to zero. These changes are purely cosmetic and do not alter the operation of TIPC in any way. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bcast.c')
-rw-r--r--net/tipc/bcast.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index 9de32564984a..99a1469e300a 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -103,9 +103,9 @@ struct bclink {
103}; 103};
104 104
105 105
106static struct bcbearer *bcbearer = NULL; 106static struct bcbearer *bcbearer;
107static struct bclink *bclink = NULL; 107static struct bclink *bclink;
108static struct link *bcl = NULL; 108static struct link *bcl;
109static DEFINE_SPINLOCK(bc_lock); 109static DEFINE_SPINLOCK(bc_lock);
110 110
111/* broadcast-capable node map */ 111/* broadcast-capable node map */
@@ -425,7 +425,7 @@ int tipc_bclink_send_msg(struct sk_buff *buf)
425void tipc_bclink_recv_pkt(struct sk_buff *buf) 425void tipc_bclink_recv_pkt(struct sk_buff *buf)
426{ 426{
427#if (TIPC_BCAST_LOSS_RATE) 427#if (TIPC_BCAST_LOSS_RATE)
428 static int rx_count = 0; 428 static int rx_count;
429#endif 429#endif
430 struct tipc_msg *msg = buf_msg(buf); 430 struct tipc_msg *msg = buf_msg(buf);
431 struct tipc_node *node = tipc_node_find(msg_prevnode(msg)); 431 struct tipc_node *node = tipc_node_find(msg_prevnode(msg));