]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
ACCOUNT: remove static initializers to zero
authorJan Engelhardt <jengelh@medozas.de>
Thu, 3 Sep 2009 11:45:13 +0000 (13:45 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sat, 5 Sep 2009 02:39:00 +0000 (04:39 +0200)
These are not needed, .bss is zeroed.

extensions/xt_ACCOUNT.c

index bd2f1d56c80133a60a4758dd3656b0de320a3686..e619672f60ee7104cbb3b21891d5bcb435c8ecde 100644 (file)
@@ -42,9 +42,9 @@
 #error "ipt_ACCOUNT needs at least a PAGE_SIZE of 4096"
 #endif
 
-static struct ipt_acc_table *ipt_acc_tables = NULL;
-static struct ipt_acc_handle *ipt_acc_handles = NULL;
-static void *ipt_acc_tmpbuf = NULL;
+static struct ipt_acc_table *ipt_acc_tables;
+static struct ipt_acc_handle *ipt_acc_handles;
+static void *ipt_acc_tmpbuf;
 
 /* Spinlock used for manipulating the current accounting tables/data */
 static DEFINE_SPINLOCK(ipt_acc_lock);