summaryrefslogtreecommitdiffstats
path: root/net/tipc/name_distr.c
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 19:59:34 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-01 22:57:57 +0100
commite3ec9c7d5eea9adf2c604c623c987360cc700b88 (patch)
tree0f17da131a7af8c66383d5a7f4bfa169f5b7e444 /net/tipc/name_distr.c
parenttipc: split variable assignments out of conditional expressions (diff)
downloadlinux-e3ec9c7d5eea9adf2c604c623c987360cc700b88.tar.xz
linux-e3ec9c7d5eea9adf2c604c623c987360cc700b88.zip
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_distr.c')
-rw-r--r--net/tipc/name_distr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c
index a6c989fd4988..483c226c9581 100644
--- a/net/tipc/name_distr.c
+++ b/net/tipc/name_distr.c
@@ -73,7 +73,7 @@ struct distr_item {
*/
static LIST_HEAD(publ_root);
-static u32 publ_cnt = 0;
+static u32 publ_cnt;
/**
* publ_to_item - add publication info to a publication message