From: dingtianhong Date: Tue, 23 Jul 2013 07:25:47 +0000 (+0800) Subject: bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c X-Git-Tag: v3.12-rc1~132^2~468 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b07ea07bd0fa63bfb74dbd803ac3bb9e14dc630b;p=~emulex%2Finfiniband.git 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 Cc: Jay Vosburgh Cc: Andy Gospodarek Signed-off-by: David S. Miller --- diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 5cd8e0acf16..414d07ef654 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;