summaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/sapi/vpp_echo_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/hs_apps/sapi/vpp_echo_common.c')
-rw-r--r--src/plugins/hs_apps/sapi/vpp_echo_common.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/plugins/hs_apps/sapi/vpp_echo_common.c b/src/plugins/hs_apps/sapi/vpp_echo_common.c
index 06ce45c66c9..be847b57ace 100644
--- a/src/plugins/hs_apps/sapi/vpp_echo_common.c
+++ b/src/plugins/hs_apps/sapi/vpp_echo_common.c
@@ -113,30 +113,6 @@ format_ip46_address (u8 * s, va_list * args)
format (s, "%U", format_ip6_address, &ip46->ip6);
}
-uword
-unformat_data (unformat_input_t * input, va_list * args)
-{
- u64 _a;
- u64 *a = va_arg (*args, u64 *);
- if (unformat (input, "%lluGb", &_a))
- *a = _a << 30;
- else if (unformat (input, "%lluG", &_a))
- *a = _a << 30;
- else if (unformat (input, "%lluMb", &_a))
- *a = _a << 20;
- else if (unformat (input, "%lluM", &_a))
- *a = _a << 20;
- else if (unformat (input, "%lluKb", &_a))
- *a = _a << 10;
- else if (unformat (input, "%lluK", &_a))
- *a = _a << 10;
- else if (unformat (input, "%llu", a))
- ;
- else
- return 0;
- return 1;
-}
-
u8 *
format_api_error (u8 * s, va_list * args)
{