diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-08-30 18:03:07 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:18:40 -0400 |
commit | 28a7b327b8cc8ea35662d360d3d11d60195debc9 (patch) | |
tree | b0dc6358ea5f5ea45cebc14ab1f66895e258e93f | |
parent | 7a0e1d602288370801c353221c6a938eab925053 (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>
-rw-r--r-- | net/sched/act_simple.c | 2 |
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]; | |||
28 | static u32 simp_idx_gen; | 28 | static u32 simp_idx_gen; |
29 | static DEFINE_RWLOCK(simp_lock); | 29 | static DEFINE_RWLOCK(simp_lock); |
30 | 30 | ||
31 | struct tcf_hashinfo simp_hash_info = { | 31 | static 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, |