summaryrefslogtreecommitdiffstats
path: root/net/ipv4/cipso_ipv4.c
diff options
context:
space:
mode:
authorAdrian Bunk2006-08-08 06:50:48 +0200
committerDavid S. Miller2006-09-22 23:54:07 +0200
commit8ce11e6a9faf1f1c849b77104adc1642c46aee95 (patch)
tree58b169b6856d5eafb8cbc1fa547ff967be9ad30c /net/ipv4/cipso_ipv4.c
parent[SUNRPC]: Update to use in-kernel sockets API. (diff)
downloadkernel-qcow2-linux-8ce11e6a9faf1f1c849b77104adc1642c46aee95.tar.gz
kernel-qcow2-linux-8ce11e6a9faf1f1c849b77104adc1642c46aee95.tar.xz
kernel-qcow2-linux-8ce11e6a9faf1f1c849b77104adc1642c46aee95.zip
[NET]: Make code static.
This patch makes needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
-rw-r--r--net/ipv4/cipso_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index b82a101c95c5..80a2a0911b49 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b/net/ipv4/cipso_ipv4.c
@@ -60,7 +60,7 @@ struct cipso_v4_domhsh_entry {
* if in practice there are a lot of different DOIs this list should
* probably be turned into a hash table or something similar so we
* can do quick lookups. */
-DEFINE_SPINLOCK(cipso_v4_doi_list_lock);
+static DEFINE_SPINLOCK(cipso_v4_doi_list_lock);
static struct list_head cipso_v4_doi_list = LIST_HEAD_INIT(cipso_v4_doi_list);
/* Label mapping cache */