[-mm patch] net/sched/act_simple.c: make struct simp_hash_info static

STALE7284d

2 messages, 2 authors, 2006-08-30 · open the first message on its own page

[-mm patch] net/sched/act_simple.c: make struct simp_hash_info static

From: Adrian Bunk <hidden>
Date: 2006-08-30 20:35:11

On Sat, Aug 26, 2006 at 04:09:22PM -0700, Andrew Morton wrote:
...
Changes since 2.6.18-rc4-mm2:
...
 git-net.patch
...
 git trees
...
This patch makes the needlessly global struct simp_hash_info static.

Signed-off-by: Adrian Bunk <redacted>
--- linux-2.6.18-rc4-mm3/net/sched/act_simple.c.old	2006-08-30 20:54:20.000000000 +0200
+++ linux-2.6.18-rc4-mm3/net/sched/act_simple.c	2006-08-30 20:54:43.000000000 +0200
@@ -28,7 +28,7 @@
 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,

Re: [-mm patch] net/sched/act_simple.c: make struct simp_hash_info static

From: David Miller <davem@davemloft.net>
Date: 2006-08-30 22:03:37

From: Adrian Bunk <redacted>
Date: Wed, 30 Aug 2006 22:35:07 +0200
On Sat, Aug 26, 2006 at 04:09:22PM -0700, Andrew Morton wrote:
quoted
...
Changes since 2.6.18-rc4-mm2:
...
 git-net.patch
...
 git trees
...
This patch makes the needlessly global struct simp_hash_info static.

Signed-off-by: Adrian Bunk <redacted>
Applied, thanks Adrian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help