summaryrefslogtreecommitdiff
path: root/net/netlabel
diff options
context:
space:
mode:
authorWei Tang <tangwei@cmss.chinamobile.com>2016-03-07 09:29:53 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-07 19:08:26 +0300
commit8303394d811ad4e1245b2d72e15c39880ec3d0ff (patch)
treedf40ea31fcc70e3c8fe27aae5f7a0c29b7cc0344 /net/netlabel
parent795f3512ca952965dd2546ceed3d9636abcb7920 (diff)
downloadlinux-8303394d811ad4e1245b2d72e15c39880ec3d0ff.tar.xz
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 <tangwei@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
-rw-r--r--net/netlabel/netlabel_domainhash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netlabel/netlabel_domainhash.c b/net/netlabel/netlabel_domainhash.c
index f0cb92f3ddaf..ada67422234b 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