This patch removes unnecessary rte_free() for async_pkts_info
and async_descs_split.
Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Yinan Wang <yinan.wang@intel.com>
} else {
rte_free(vq->shadow_used_split);
vq->shadow_used_split = NULL;
-
- if (vq->async_pkts_info)
- rte_free(vq->async_pkts_info);
- if (vq->async_descs_split)
- rte_free(vq->async_descs_split);
- vq->async_pkts_info = NULL;
- vq->async_descs_split = NULL;
}
rte_free(vq->batch_copy_elems);