summaryrefslogtreecommitdiffstats
path: root/net/ipv4/cipso_ipv4.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-11-04 20:19:19 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-04 15:09:52 -0500
commit988b13438c0c6893192d4ca082eb4df39222b07b (patch)
tree6f0d2ef45d0482021e749b96261c2db513537197 /net/ipv4/cipso_ipv4.c
parent4c787b162607fa4ee9da021a8683d13dd5c7cb9f (diff)
downloadlinux-988b13438c0c6893192d4ca082eb4df39222b07b.tar.bz2
cipso: remove NULL assignment on static
Also add blank line after structure declarations Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
-rw-r--r--net/ipv4/cipso_ipv4.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index 253a61b4e69e..5160c710f2eb 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b/net/ipv4/cipso_ipv4.c
@@ -72,6 +72,7 @@ struct cipso_v4_map_cache_bkt {
u32 size;
struct list_head list;
};
+
struct cipso_v4_map_cache_entry {
u32 hash;
unsigned char *key;
@@ -82,7 +83,8 @@ struct cipso_v4_map_cache_entry {
u32 activity;
struct list_head list;
};
-static struct cipso_v4_map_cache_bkt *cipso_v4_cache = NULL;
+
+static struct cipso_v4_map_cache_bkt *cipso_v4_cache;
/* Restricted bitmap (tag #1) flags */
int cipso_v4_rbm_optfmt = 0;