aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_simple.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-08-30 15:03:07 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:18:40 -0700
commit28a7b327b8cc8ea35662d360d3d11d60195debc9 (patch)
treeb0dc6358ea5f5ea45cebc14ab1f66895e258e93f /net/sched/act_simple.c
parent7a0e1d602288370801c353221c6a938eab925053 (diff)
downloadkernel_goldelico_gta04-28a7b327b8cc8ea35662d360d3d11d60195debc9.zip
kernel_goldelico_gta04-28a7b327b8cc8ea35662d360d3d11d60195debc9.tar.gz
kernel_goldelico_gta04-28a7b327b8cc8ea35662d360d3d11d60195debc9.tar.bz2
[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/act_simple.c')
-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 8c1ab8a..901571a 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];
static u32 simp_idx_gen;
static DEFINE_RWLOCK(simp_lock);
-struct tcf_hashinfo simp_hash_info = {
+static struct tcf_hashinfo simp_hash_info = {
.htab = tcf_simp_ht,
.hmask = SIMP_TAB_MASK,
.lock = &simp_lock,