ipvs: Fix unused label warning
authorSven Wegener <sven.wegener@stealer.net>
Sat, 20 Sep 2008 09:48:33 +0000 (11:48 +0200)
committerSimon Horman <horms@verge.net.au>
Sun, 21 Sep 2008 23:57:26 +0000 (09:57 +1000)
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/ipv4/ipvs/ip_vs_ctl.c

index 771551d8fba9e1cf9b2609db06ca3bea8c7cc2a9..0302cf3e503968f5a4a2b8a89b3828b536e71871 100644 (file)
@@ -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);