]> err.no Git - linux-2.6/commitdiff
[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 8c1ab8ad8fa6d34b8c32970a321088332e7f7a52..901571a677072c8480b270df13f7d01c173a070c 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,