memif: fix zero-copy arg overwrite
[vpp.git] / src / plugins / memif / memif_api.c
index 5dafea3..60b9d5f 100644 (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)
     {