vhost-vdpa: remove the unncessary queue_index assignment
commit499c8b4de96eecc554a03e452226f79f169a233b
authorJason Wang <jasowang@redhat.com>
Fri, 3 Sep 2021 09:10:21 +0000 (3 17:10 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Sep 2021 21:34:05 +0000 (4 17:34 -0400)
tree25f4cb41a7df313ae1128ffc9e1b8aa181ba86a8
parent74af5eec832f56d6565415d3bb879a75d5f80190
vhost-vdpa: remove the unncessary queue_index assignment

The queue_index of NetClientState should be assigned in set_netdev()
afterwards, so trying to net_vhost_vdpa_init() is meaningless. This
patch removes this.

Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20210903091031.47303-12-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c