Patchwork [2/4] bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c

login
register
mail settings
Submitter dingtianhong
Date July 20, 2013, 7:23 a.m.
Message ID <51EA3B09.2080006@huawei.com>
Download mbox | patch
Permalink /patch/260420/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

dingtianhong - July 20, 2013, 7:23 a.m.
The error is found by the checkpatch.pl tools.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
---
 drivers/net/bonding/bond_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 5eb75ef..8ca04cb 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;