From: Jan Engelhardt Date: Thu, 3 Sep 2009 11:45:13 +0000 (+0200) Subject: ACCOUNT: remove static initializers to zero X-Git-Tag: v1.18~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f736c82034e5fe6ed0b0abc3aa973739229ae9d;p=thirdparty%2Fxtables-addons.git ACCOUNT: remove static initializers to zero These are not needed, .bss is zeroed. --- diff --git a/extensions/xt_ACCOUNT.c b/extensions/xt_ACCOUNT.c index bd2f1d5..e619672 100644 --- a/extensions/xt_ACCOUNT.c +++ b/extensions/xt_ACCOUNT.c @@ -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);