summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/ip/punt.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vnet/ip/punt.c b/src/vnet/ip/punt.c
index 6e2fcebf69e..e1c13f62aff 100644
--- a/src/vnet/ip/punt.c
+++ b/src/vnet/ip/punt.c
@@ -807,7 +807,6 @@ punt_cli (vlib_main_t * vm,
if (error)
{
clib_error_report (error);
- goto done;
}
done:
@@ -877,10 +876,6 @@ punt_socket_register_cmd (vlib_main_t * vm,
error =
vnet_punt_socket_add (vm, 1, is_ipv4, protocol, port,
(char *) socket_name);
- if (error)
- {
- goto done;
- }
done:
return error;
}
@@ -931,10 +926,6 @@ punt_socket_deregister_cmd (vlib_main_t * vm,
}
error = vnet_punt_socket_del (vm, is_ipv4, protocol, port);
- if (error)
- {
- goto done;
- }
done:
return error;
}