summaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/buffer_funcs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/vlib/vlib/buffer_funcs.h b/vlib/vlib/buffer_funcs.h
index 1c3ffe2a6e8..ed96df80e31 100644
--- a/vlib/vlib/buffer_funcs.h
+++ b/vlib/vlib/buffer_funcs.h
@@ -491,11 +491,7 @@ vlib_buffer_chain_append_data(vlib_main_t *vm,
u32 n_buffer_bytes = vlib_buffer_free_list_buffer_size (vm, free_list_index);
ASSERT(n_buffer_bytes >= last->current_length + last->current_data);
u16 len = clib_min(data_len, n_buffer_bytes - last->current_length - last->current_data);
-#if DPDK == 1
- clib_memcpy(vlib_buffer_get_current (last) + last->current_length, data, len);
-#else
clib_memcpy(vlib_buffer_get_current (last) + last->current_length, data, len);
-#endif
vlib_buffer_chain_increase_length(first, last, len);
return len;
}