From: Adrian Bunk Date: Wed, 30 Aug 2006 22:03:07 +0000 (-0700) Subject: [PKT_SCHED] act_simple.c: make struct simp_hash_info static X-Git-Tag: v2.6.19-rc1~1272^2~86 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a7b327b8cc8ea35662d360d3d11d60195debc9;p=linux-2.6 [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 Signed-off-by: David S. Miller --- diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c index 8c1ab8ad8f..901571a677 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,