netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] make net/802/tr.c:sysctl_tr_rif_timeout static
@ 2008-01-30 20:02 Adrian Bunk
  2008-01-31 10:35 ` Pavel Emelyanov
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-01-30 20:02 UTC (permalink / raw)
  To: Pavel Emelyanov, David S. Miller; +Cc: netdev, linux-kernel

sysctl_tr_rif_timeout can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
e5accd81b924224d40a3f38204c08cf6896ed79b 
diff --git a/net/802/tr.c b/net/802/tr.c
index 3f16b17..18c6647 100644
--- a/net/802/tr.c
+++ b/net/802/tr.c
@@ -76,7 +76,7 @@ static DEFINE_SPINLOCK(rif_lock);
 
 static struct timer_list rif_timer;
 
-int sysctl_tr_rif_timeout = 60*10*HZ;
+static int sysctl_tr_rif_timeout = 60*10*HZ;
 
 static inline unsigned long rif_hash(const unsigned char *addr)
 {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] make net/802/tr.c:sysctl_tr_rif_timeout static
  2008-01-30 20:02 [2.6 patch] make net/802/tr.c:sysctl_tr_rif_timeout static Adrian Bunk
@ 2008-01-31 10:35 ` Pavel Emelyanov
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Emelyanov @ 2008-01-31 10:35 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: David S. Miller, netdev, linux-kernel

Adrian Bunk wrote:
> sysctl_tr_rif_timeout can now become static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Acked-by: Pavel Emelyanov <xemul@openvz.org>

> ---
> e5accd81b924224d40a3f38204c08cf6896ed79b 
> diff --git a/net/802/tr.c b/net/802/tr.c
> index 3f16b17..18c6647 100644
> --- a/net/802/tr.c
> +++ b/net/802/tr.c
> @@ -76,7 +76,7 @@ static DEFINE_SPINLOCK(rif_lock);
>  
>  static struct timer_list rif_timer;
>  
> -int sysctl_tr_rif_timeout = 60*10*HZ;
> +static int sysctl_tr_rif_timeout = 60*10*HZ;
>  
>  static inline unsigned long rif_hash(const unsigned char *addr)
>  {
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-31 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 20:02 [2.6 patch] make net/802/tr.c:sysctl_tr_rif_timeout static Adrian Bunk
2008-01-31 10:35 ` Pavel Emelyanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).