From: Wei Tang Date: Mon, 7 Mar 2016 06:29:53 +0000 (+0800) Subject: netlabel: do not initialise statics to NULL X-Git-Tag: v4.14-rc1~3609^2~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8303394d811ad4e1245b2d72e15c39880ec3d0ff;p=platform%2Fkernel%2Flinux-rpi.git netlabel: do not initialise statics to NULL This patch fixes the checkpatch.pl error to netlabel_domainhash.c: ERROR: do not initialise statics to NULL Signed-off-by: Wei Tang Signed-off-by: David S. Miller --- diff --git a/net/netlabel/netlabel_domainhash.c b/net/netlabel/netlabel_domainhash.c index f0cb92f..ada6742 100644 --- a/net/netlabel/netlabel_domainhash.c +++ b/net/netlabel/netlabel_domainhash.c @@ -55,8 +55,8 @@ struct netlbl_domhsh_tbl { static DEFINE_SPINLOCK(netlbl_domhsh_lock); #define netlbl_domhsh_rcu_deref(p) \ rcu_dereference_check(p, lockdep_is_held(&netlbl_domhsh_lock)) -static struct netlbl_domhsh_tbl *netlbl_domhsh = NULL; -static struct netlbl_dom_map *netlbl_domhsh_def = NULL; +static struct netlbl_domhsh_tbl *netlbl_domhsh; +static struct netlbl_dom_map *netlbl_domhsh_def; /* * Domain Hash Table Helper Functions