2008-01-30 20:08:43

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make net/802/tr.c:sysctl_tr_rif_timeout static

sysctl_tr_rif_timeout can now become static.

Signed-off-by: Adrian Bunk <[email protected]>

---
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)
{


2008-01-31 10:36:24

by Pavel Emelyanov

[permalink] [raw]
Subject: Re: [2.6 patch] make net/802/tr.c:sysctl_tr_rif_timeout static

Adrian Bunk wrote:
> sysctl_tr_rif_timeout can now become static.
>
> Signed-off-by: Adrian Bunk <[email protected]>

Acked-by: Pavel Emelyanov <[email protected]>

> ---
> 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)
> {
>
>