aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/std-formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/std-formats.c')
-rw-r--r--src/vppinfra/std-formats.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vppinfra/std-formats.c b/src/vppinfra/std-formats.c
index 99ea0c1a713..f7632e16a0b 100644
--- a/src/vppinfra/std-formats.c
+++ b/src/vppinfra/std-formats.c
@@ -396,8 +396,6 @@ format_c_identifier (u8 * s, va_list * va)
uword i, l;
l = ~0;
- if (clib_mem_is_vec (id))
- l = vec_len (id);
if (id)
for (i = 0; i < l && id[i] != 0; i++)