aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-08-30 18:03:07 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:18:40 -0400
commit28a7b327b8cc8ea35662d360d3d11d60195debc9 (patch)
treeb0dc6358ea5f5ea45cebc14ab1f66895e258e93f /net/sched
parent7a0e1d602288370801c353221c6a938eab925053 (diff)
[PKT_SCHED] act_simple.c: make struct simp_hash_info static
This patch makes the needlessly global struct simp_hash_info static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/act_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c
index 8c1ab8ad8fa6..901571a67707 100644
--- a/net/sched/act_simple.c
+++ b/net/sched/act_simple.c
@@ -28,7 +28,7 @@ static struct tcf_common *tcf_simp_ht[SIMP_TAB_MASK + 1];
28static u32 simp_idx_gen; 28static u32 simp_idx_gen;
29static DEFINE_RWLOCK(simp_lock); 29static DEFINE_RWLOCK(simp_lock);
30 30
31struct tcf_hashinfo simp_hash_info = { 31static struct tcf_hashinfo simp_hash_info = {
32 .htab = tcf_simp_ht, 32 .htab = tcf_simp_ht,
33 .hmask = SIMP_TAB_MASK, 33 .hmask = SIMP_TAB_MASK,
34 .lock = &simp_lock, 34 .lock = &simp_lock,