bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c
authordingtianhong <dingtianhong@huawei.com>
Tue, 23 Jul 2013 07:25:47 +0000 (15:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jul 2013 00:45:23 +0000 (17:45 -0700)
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>
drivers/net/bonding/bond_main.c

index 5cd8e0acf1602282d1d30066172c8e8f3e7c5467..414d07ef65401ed0990a7f44610f69537e2ecdd9 100644 (file)
@@ -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;