diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 19:59:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 22:57:57 +0100 |
commit | e3ec9c7d5eea9adf2c604c623c987360cc700b88 (patch) | |
tree | 0f17da131a7af8c66383d5a7f4bfa169f5b7e444 /net/tipc/eth_media.c | |
parent | tipc: split variable assignments out of conditional expressions (diff) | |
download | linux-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/eth_media.c')
-rw-r--r-- | net/tipc/eth_media.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/eth_media.c b/net/tipc/eth_media.c index 5dfe66357794..b69092eb95d8 100644 --- a/net/tipc/eth_media.c +++ b/net/tipc/eth_media.c @@ -56,7 +56,7 @@ struct eth_bearer { }; static struct eth_bearer eth_bearers[MAX_ETH_BEARERS]; -static int eth_started = 0; +static int eth_started; static struct notifier_block notifier; /** |