[PKT_SCHED] act_simple.c: make struct simp_hash_info static
authorAdrian Bunk <bunk@stusta.de>
Wed, 30 Aug 2006 22:03:07 +0000 (15:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:40 +0000 (15:18 -0700)
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>
net/sched/act_simple.c

index 8c1ab8a..901571a 100644 (file)
@@ -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,