Skip to content

Commit 8303394

Browse files
Wei Tangdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 795f351 commit 8303394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/netlabel/netlabel_domainhash.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ struct netlbl_domhsh_tbl {
5555
static DEFINE_SPINLOCK(netlbl_domhsh_lock);
5656
#define netlbl_domhsh_rcu_deref(p) \
5757
rcu_dereference_check(p, lockdep_is_held(&netlbl_domhsh_lock))
58-
static struct netlbl_domhsh_tbl *netlbl_domhsh = NULL;
59-
static struct netlbl_dom_map *netlbl_domhsh_def = NULL;
58+
static struct netlbl_domhsh_tbl *netlbl_domhsh;
59+
static struct netlbl_dom_map *netlbl_domhsh_def;
6060

6161
/*
6262
* Domain Hash Table Helper Functions

0 commit comments

Comments
 (0)