Remove unused put_userns label to avoid compiler warnings such as:

net/core/net_namespace.c:560:1: warning: label ‘put_userns’ defined but not 
used [-Wunused-label]
  560 | put_userns:

Signed-off-by: Vasileios Almpanis <[email protected]>

Feature: ve: ve generic structures
---
 net/core/net_namespace.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index 3738e5274cd9..3783c1363ad7 100644
--- a/net/core/net_namespace.c
+++ b/net/core/net_namespace.c
@@ -557,7 +557,6 @@ struct net *copy_net_ns(unsigned long flags,
 #ifdef CONFIG_VE
                put_ve(net->owner_ve);
 #endif
-put_userns:
 #ifdef CONFIG_KEYS
                key_remove_domain(net->key_domain);
 #endif
-- 
2.43.0

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to