netfilter: bridge: do not initialize statics to 0 or NULL
authorBernhard Thaler <bernhard.thaler@wvnet.at>
Thu, 30 Jul 2015 04:06:12 +0000 (06:06 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 30 Jul 2015 11:46:04 +0000 (13:46 +0200)
Fix checkpatch.pl "ERROR: do not initialise statics to 0 or NULL" for
all statics explicitly initialized to 0.

Signed-off-by: Bernhard Thaler <bernhard.thaler@wvnet.at>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/br_netfilter_hooks.c

index ec51c2ba30e9aad8c3406eacc6493db07a1ab6a5..0a6f095bb0c9eef4cc6e6b543db0b0ba3967d67d 100644 (file)
@@ -49,9 +49,9 @@ static struct ctl_table_header *brnf_sysctl_header;
 static int brnf_call_iptables __read_mostly = 1;
 static int brnf_call_ip6tables __read_mostly = 1;
 static int brnf_call_arptables __read_mostly = 1;
-static int brnf_filter_vlan_tagged __read_mostly = 0;
-static int brnf_filter_pppoe_tagged __read_mostly = 0;
-static int brnf_pass_vlan_indev __read_mostly = 0;
+static int brnf_filter_vlan_tagged __read_mostly;
+static int brnf_filter_pppoe_tagged __read_mostly;
+static int brnf_pass_vlan_indev __read_mostly;
 #else
 #define brnf_call_iptables 1
 #define brnf_call_ip6tables 1