projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a0e1d6
)
[PKT_SCHED] act_simple.c: make struct simp_hash_info static
author
Adrian Bunk
<bunk@stusta.de>
Wed, 30 Aug 2006 22:03:07 +0000
(15:03 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/sched/act_simple.c
b/net/sched/act_simple.c
index
8c1ab8a
..
901571a
100644
(file)
--- 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 = {
+st
atic st
ruct tcf_hashinfo simp_hash_info = {
.htab = tcf_simp_ht,
.hmask = SIMP_TAB_MASK,
.lock = &simp_lock,