diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 18:59:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 13:57:57 -0800 |
commit | e3ec9c7d5eea9adf2c604c623c987360cc700b88 (patch) | |
tree | 0f17da131a7af8c66383d5a7f4bfa169f5b7e444 /net/tipc/socket.c | |
parent | 2db9983a4318818845193bd577879c0620705e82 (diff) | |
download | linux-3.10-e3ec9c7d5eea9adf2c604c623c987360cc700b88.tar.gz linux-3.10-e3ec9c7d5eea9adf2c604c623c987360cc700b88.tar.bz2 linux-3.10-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/socket.c')
-rw-r--r-- | net/tipc/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 0895dec2967..18aad573f55 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -68,7 +68,7 @@ static const struct proto_ops msg_ops; static struct proto tipc_proto; -static int sockets_enabled = 0; +static int sockets_enabled; static atomic_t tipc_queue_size = ATOMIC_INIT(0); |