summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authordingtianhong2013-07-23 09:25:47 +0200
committerDavid S. Miller2013-07-25 02:45:23 +0200
commitb07ea07bd0fa63bfb74dbd803ac3bb9e14dc630b (patch)
treefe2686e68596de7969994472c0520a8119138946 /drivers/net/bonding/bond_main.c
parentbonding: add rtnl protection for bonding_store_fail_over_mac (diff)
downloadkernel-qcow2-linux-b07ea07bd0fa63bfb74dbd803ac3bb9e14dc630b.tar.gz
kernel-qcow2-linux-b07ea07bd0fa63bfb74dbd803ac3bb9e14dc630b.tar.xz
kernel-qcow2-linux-b07ea07bd0fa63bfb74dbd803ac3bb9e14dc630b.zip
bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c
The error is found by the checkpatch.pl tools. Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Cc: Jay Vosburgh <fubar@us.ibm.com> Cc: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 5cd8e0acf160..414d07ef6540 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -106,7 +106,7 @@ static char *arp_ip_target[BOND_MAX_ARP_TARGETS];
static char *arp_validate;
static char *arp_all_targets;
static char *fail_over_mac;
-static int all_slaves_active = 0;
+static int all_slaves_active;
static struct bond_params bonding_defaults;
static int resend_igmp = BOND_DEFAULT_RESEND_IGMP;