aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dev/format.c')
-rw-r--r--src/vnet/dev/format.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/vnet/dev/format.c b/src/vnet/dev/format.c
index 4e1ece66d31..b8b7dbdcb10 100644
--- a/src/vnet/dev/format.c
+++ b/src/vnet/dev/format.c
@@ -394,11 +394,7 @@ format_vnet_dev_log (u8 *s, va_list *args)
if (dev && func)
vec_add1 (s, ' ');
if (func)
- {
- if (strncmp (func, "vnet_dev_", 9) == 0)
- func += 9;
- s = format (s, "%s", func);
- }
+ s = format (s, "%s", func);
vec_add1 (s, ':');
vec_add1 (s, ' ');
return s;