memif: fix zero-copy arg overwrite

Type: fix

Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I9a34465c85597baecdbc672ce395265f7dbb7f00
This commit is contained in:
Jakub Grajciar
2019-09-11 10:21:17 +02:00
committed by Dave Barach
parent 3d1ef873da
commit 8a1dea4ce6

View File

@ -149,9 +149,6 @@ vl_api_memif_create_t_handler (vl_api_memif_create_t * mp)
args.is_zero_copy = mp->no_zero_copy ? 0 : 1;
/* enable zero-copy */
args.is_zero_copy = 1;
/* rx/tx queues */
if (args.is_master == 0)
{