Skip to content

Commit

Permalink
netlabel: do not initialise statics to NULL
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Wei Tang authored and davem330 committed Mar 7, 2016
1 parent 795f351 commit 8303394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/netlabel/netlabel_domainhash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8303394

Please sign in to comment.