[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>
This commit is contained in:
committed by
David S. Miller
parent
7a0e1d6022
commit
28a7b327b8
@@ -28,7 +28,7 @@ static struct tcf_common *tcf_simp_ht[SIMP_TAB_MASK + 1];
|
|||||||
static u32 simp_idx_gen;
|
static u32 simp_idx_gen;
|
||||||
static DEFINE_RWLOCK(simp_lock);
|
static DEFINE_RWLOCK(simp_lock);
|
||||||
|
|
||||||
struct tcf_hashinfo simp_hash_info = {
|
static struct tcf_hashinfo simp_hash_info = {
|
||||||
.htab = tcf_simp_ht,
|
.htab = tcf_simp_ht,
|
||||||
.hmask = SIMP_TAB_MASK,
|
.hmask = SIMP_TAB_MASK,
|
||||||
.lock = &simp_lock,
|
.lock = &simp_lock,
|
||||||
|
Reference in New Issue
Block a user