vhost_net: remove the meaningless assignment in vhost_net_start_one()
commit40f962ffeba627cd65121a7b2883f145e79c9c4c
authorJason Wang <jasowang@redhat.com>
Fri, 3 Sep 2021 09:10:13 +0000 (3 17:10 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Sep 2021 21:34:05 +0000 (4 17:34 -0400)
treeb463b7b778862f597ac3be1338cbc0160fdee646
parent2a83e97ee89d17ba843b6dbabdd139a508e122c5
vhost_net: remove the meaningless assignment in vhost_net_start_one()

The nvqs and vqs have been initialized during vhost_net_init() and are
not expected to change during the life cycle of vhost_net
structure. So this patch removes the meaningless assignment.

Reviewed-by: Eli Cohen <elic@nvidia.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20210903091031.47303-4-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/vhost_net.c