diff mbox

ipvs: Fix unused label warning

Message ID alpine.LNX.2.00.0809201142570.22510@titan.stealer.net
State Not Applicable, archived
Headers show

Commit Message

Sven Wegener Sept. 20, 2008, 9:48 a.m. UTC
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
---
 net/ipv4/ipvs/ip_vs_ctl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Simon, small fixup patch for your patch. It wasn't obvious from the patch, 
that now only the IPV6 support needs this label.

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

Comments

Simon Horman Sept. 21, 2008, 11:57 p.m. UTC | #1
On Sat, Sep 20, 2008 at 11:48:33AM +0200, Sven Wegener wrote:
> Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
> ---
>  net/ipv4/ipvs/ip_vs_ctl.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> Simon, small fixup patch for your patch. It wasn't obvious from the patch, 
> that now only the IPV6 support needs this label.

Thanks, sorry for messing that up.

Applied
diff mbox

Patch

diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
index 771551d..0302cf3 100644
--- a/net/ipv4/ipvs/ip_vs_ctl.c
+++ b/net/ipv4/ipvs/ip_vs_ctl.c
@@ -1330,7 +1330,9 @@  ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u)
 
   out_unlock:
 	write_unlock_bh(&__ip_vs_svc_lock);
+#ifdef CONFIG_IP_VS_IPV6
   out:
+#endif
 
 	if (old_sched)
 		ip_vs_scheduler_put(old_sched);