aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/name_table.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/name_table.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/name_table.c')
-rw-r--r--net/tipc/name_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c
index 46b2f31f96a1..ea3e94e9d939 100644
--- a/net/tipc/name_table.c
+++ b/net/tipc/name_table.c
@@ -104,7 +104,7 @@ struct name_table {
104 u32 local_publ_count; 104 u32 local_publ_count;
105}; 105};
106 106
107static struct name_table table = { NULL } ; 107static struct name_table table;
108static atomic_t rsv_publ_ok = ATOMIC_INIT(0); 108static atomic_t rsv_publ_ok = ATOMIC_INIT(0);
109DEFINE_RWLOCK(tipc_nametbl_lock); 109DEFINE_RWLOCK(tipc_nametbl_lock);
110 110