aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-11-04 14:19:19 -0500
committerDavid S. Miller <davem@davemloft.net>2014-11-04 15:09:52 -0500
commit988b13438c0c6893192d4ca082eb4df39222b07b (patch)
tree6f0d2ef45d0482021e749b96261c2db513537197 /net
parent4c787b162607fa4ee9da021a8683d13dd5c7cb9f (diff)
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')
-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 {
72 u32 size; 72 u32 size;
73 struct list_head list; 73 struct list_head list;
74}; 74};
75
75struct cipso_v4_map_cache_entry { 76struct cipso_v4_map_cache_entry {
76 u32 hash; 77 u32 hash;
77 unsigned char *key; 78 unsigned char *key;
@@ -82,7 +83,8 @@ struct cipso_v4_map_cache_entry {
82 u32 activity; 83 u32 activity;
83 struct list_head list; 84 struct list_head list;
84}; 85};
85static struct cipso_v4_map_cache_bkt *cipso_v4_cache = NULL; 86
87static struct cipso_v4_map_cache_bkt *cipso_v4_cache;
86 88
87/* Restricted bitmap (tag #1) flags */ 89/* Restricted bitmap (tag #1) flags */
88int cipso_v4_rbm_optfmt = 0; 90int cipso_v4_rbm_optfmt = 0;