netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] net/ipv4/ipvs/: remove unused exports
@ 2007-11-11  6:48 Adrian Bunk
  2007-11-11  7:09 ` Simon Horman
  2007-11-13  5:25 ` David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: Adrian Bunk @ 2007-11-11  6:48 UTC (permalink / raw)
  To: Rumen G. Bogdanovski, wensong, horms, ja; +Cc: netdev, linux-kernel

This patch removes the following unused EXPORT_SYMBOL's:
- ip_vs_try_bind_dest
- ip_vs_find_dest

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

---

 net/ipv4/ipvs/ip_vs_conn.c |    1 -
 net/ipv4/ipvs/ip_vs_ctl.c  |    1 -
 2 files changed, 2 deletions(-)

ad9f400d4f66ea3423f97e609d6ef2572055c603 
diff --git a/net/ipv4/ipvs/ip_vs_conn.c b/net/ipv4/ipvs/ip_vs_conn.c
index b7eeae6..0a9f3c3 100644
--- a/net/ipv4/ipvs/ip_vs_conn.c
+++ b/net/ipv4/ipvs/ip_vs_conn.c
@@ -441,7 +441,6 @@ struct ip_vs_dest *ip_vs_try_bind_dest(struct ip_vs_conn *cp)
 	} else
 		return NULL;
 }
-EXPORT_SYMBOL(ip_vs_try_bind_dest);
 
 
 /*
diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
index 3c4d22a..b64cf45 100644
--- a/net/ipv4/ipvs/ip_vs_ctl.c
+++ b/net/ipv4/ipvs/ip_vs_ctl.c
@@ -604,7 +604,6 @@ struct ip_vs_dest *ip_vs_find_dest(__be32 daddr, __be16 dport,
 	ip_vs_service_put(svc);
 	return dest;
 }
-EXPORT_SYMBOL(ip_vs_find_dest);
 
 /*
  *  Lookup dest by {svc,addr,port} in the destination trash.


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

* Re: [2.6 patch] net/ipv4/ipvs/: remove unused exports
  2007-11-11  6:48 [2.6 patch] net/ipv4/ipvs/: remove unused exports Adrian Bunk
@ 2007-11-11  7:09 ` Simon Horman
  2007-11-12  7:58   ` Adrian Bunk
  2007-11-13  5:25 ` David Miller
  1 sibling, 1 reply; 5+ messages in thread
From: Simon Horman @ 2007-11-11  7:09 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Rumen G. Bogdanovski, wensong, ja, netdev, linux-kernel,
	David S. Miller, LVS Development mailing list

On Sun, Nov 11, 2007 at 07:48:40AM +0100, Adrian Bunk wrote:
> This patch removes the following unused EXPORT_SYMBOL's:
> - ip_vs_try_bind_dest
> - ip_vs_find_dest
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Looks fine to me.

Should Dave Miller put this in his tree,
or do you want to handle it a different way?

Acked-by: Simon Horman <horms@verge.net.au>

> 
> ---
> 
>  net/ipv4/ipvs/ip_vs_conn.c |    1 -
>  net/ipv4/ipvs/ip_vs_ctl.c  |    1 -
>  2 files changed, 2 deletions(-)
> 
> ad9f400d4f66ea3423f97e609d6ef2572055c603 
> diff --git a/net/ipv4/ipvs/ip_vs_conn.c b/net/ipv4/ipvs/ip_vs_conn.c
> index b7eeae6..0a9f3c3 100644
> --- a/net/ipv4/ipvs/ip_vs_conn.c
> +++ b/net/ipv4/ipvs/ip_vs_conn.c
> @@ -441,7 +441,6 @@ struct ip_vs_dest *ip_vs_try_bind_dest(struct ip_vs_conn *cp)
>  	} else
>  		return NULL;
>  }
> -EXPORT_SYMBOL(ip_vs_try_bind_dest);
>  
>  
>  /*
> diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
> index 3c4d22a..b64cf45 100644
> --- a/net/ipv4/ipvs/ip_vs_ctl.c
> +++ b/net/ipv4/ipvs/ip_vs_ctl.c
> @@ -604,7 +604,6 @@ struct ip_vs_dest *ip_vs_find_dest(__be32 daddr, __be16 dport,
>  	ip_vs_service_put(svc);
>  	return dest;
>  }
> -EXPORT_SYMBOL(ip_vs_find_dest);
>  
>  /*
>   *  Lookup dest by {svc,addr,port} in the destination trash.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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

* Re: [2.6 patch] net/ipv4/ipvs/: remove unused exports
  2007-11-11  7:09 ` Simon Horman
@ 2007-11-12  7:58   ` Adrian Bunk
  2007-11-12  8:01     ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2007-11-12  7:58 UTC (permalink / raw)
  To: Simon Horman
  Cc: Rumen G. Bogdanovski, wensong, ja, netdev, linux-kernel,
	David S. Miller, LVS Development mailing list

On Sun, Nov 11, 2007 at 04:09:40PM +0900, Simon Horman wrote:
> On Sun, Nov 11, 2007 at 07:48:40AM +0100, Adrian Bunk wrote:
> > This patch removes the following unused EXPORT_SYMBOL's:
> > - ip_vs_try_bind_dest
> > - ip_vs_find_dest
> > 
> > Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> Looks fine to me.
> 
> Should Dave Miller put this in his tree,
> or do you want to handle it a different way?
>...

If Dave applies it that would be perfect.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: [2.6 patch] net/ipv4/ipvs/: remove unused exports
  2007-11-12  7:58   ` Adrian Bunk
@ 2007-11-12  8:01     ` David Miller
  0 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2007-11-12  8:01 UTC (permalink / raw)
  To: bunk; +Cc: horms, rumen, wensong, ja, netdev, linux-kernel, lvs-devel

From: Adrian Bunk <bunk@kernel.org>
Date: Mon, 12 Nov 2007 08:58:36 +0100

> On Sun, Nov 11, 2007 at 04:09:40PM +0900, Simon Horman wrote:
> > On Sun, Nov 11, 2007 at 07:48:40AM +0100, Adrian Bunk wrote:
> > > This patch removes the following unused EXPORT_SYMBOL's:
> > > - ip_vs_try_bind_dest
> > > - ip_vs_find_dest
> > > 
> > > Signed-off-by: Adrian Bunk <bunk@kernel.org>
> > 
> > Looks fine to me.
> > 
> > Should Dave Miller put this in his tree,
> > or do you want to handle it a different way?
> >...
> 
> If Dave applies it that would be perfect.

I will do this.

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

* Re: [2.6 patch] net/ipv4/ipvs/: remove unused exports
  2007-11-11  6:48 [2.6 patch] net/ipv4/ipvs/: remove unused exports Adrian Bunk
  2007-11-11  7:09 ` Simon Horman
@ 2007-11-13  5:25 ` David Miller
  1 sibling, 0 replies; 5+ messages in thread
From: David Miller @ 2007-11-13  5:25 UTC (permalink / raw)
  To: bunk; +Cc: rumen, wensong, horms, ja, netdev, linux-kernel

From: Adrian Bunk <bunk@kernel.org>
Date: Sun, 11 Nov 2007 07:48:40 +0100

> This patch removes the following unused EXPORT_SYMBOL's:
> - ip_vs_try_bind_dest
> - ip_vs_find_dest
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Applied.

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

end of thread, other threads:[~2007-11-13  5:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-11  6:48 [2.6 patch] net/ipv4/ipvs/: remove unused exports Adrian Bunk
2007-11-11  7:09 ` Simon Horman
2007-11-12  7:58   ` Adrian Bunk
2007-11-12  8:01     ` David Miller
2007-11-13  5:25 ` David Miller

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