vlib:remove unused argument

Change-Id: I88c3d3e516401bb1c84991515cd701c156ae19dd
Signed-off-by: Eyal Bari <ebari@cisco.com>
This commit is contained in:
Eyal Bari
2018-11-12 16:13:49 +02:00
committed by Florin Coras
parent 35a5ee16ee
commit b688fb1297
2 changed files with 2 additions and 4 deletions

View File

@ -842,7 +842,7 @@ vlib_buffer_chain_append_data_with_alloc (vlib_main_t * vm,
vlib_buffer_alloc_from_free_list (vm, &l->next_buffer, 1,
free_list_index))
return copied;
*last = l = vlib_buffer_chain_buffer (vm, first, l, l->next_buffer);
*last = l = vlib_buffer_chain_buffer (vm, l, l->next_buffer);
max = n_buffer_bytes - l->current_length - l->current_data;
}

View File

@ -944,9 +944,7 @@ vlib_buffer_chain_init (vlib_buffer_t * first)
/* The provided next_bi buffer index is appended to the end of the packet. */
always_inline vlib_buffer_t *
vlib_buffer_chain_buffer (vlib_main_t * vm,
vlib_buffer_t * first,
vlib_buffer_t * last, u32 next_bi)
vlib_buffer_chain_buffer (vlib_main_t * vm, vlib_buffer_t * last, u32 next_bi)
{
vlib_buffer_t *next_buffer = vlib_get_buffer (vm, next_bi);
last->next_buffer = next_bi;