vhost: remove remaining packets count
authorBalazs Nemeth <bnemeth@redhat.com>
Tue, 13 Apr 2021 13:31:03 +0000 (15:31 +0200)
committerChenbo Xia <chenbo.xia@intel.com>
Wed, 28 Apr 2021 02:49:09 +0000 (04:49 +0200)
commit56fa279124091648e4502bdead1667f30ec22fa4
tree818aaa42efdc59f893f1d73618ae33da5edd4e6e
parentd18db8049c7c52fe91058c125c7a59c8c2f9cb42
vhost: remove remaining packets count

The remained variable stores the same information as the difference
between count and pkt_idx. Remove the remained variable to simplify.

Signed-off-by: Balazs Nemeth <bnemeth@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/vhost/virtio_net.c