vhost: cleanup async enqueue
authorJiayu Hu <jiayu.hu@intel.com>
Mon, 11 Jan 2021 12:16:26 +0000 (07:16 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Jan 2021 17:51:58 +0000 (18:51 +0100)
commit9ab57ef196d007a50dc64a50c1c0c9b485bdbdce
tree1ad711f2bad9506610a24a580f9f259c15f5dc9b
parenta121f175722f7b717cb7576c5baff1c20dd3920e
vhost: cleanup async enqueue

This patch removes unnecessary check and function calls, and it changes
appropriate types for internal variables and fixes typos.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Tested-by: Yinan Wang <yinan.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/rte_vhost_async.h
lib/librte_vhost/virtio_net.c