vhost-vdpa: remove useless variable
commit9e32d4ead3531f70d26e374219884d42e5d8b170
authorLaurent Vivier <lvivier@redhat.com>
Sun, 20 Sep 2020 15:20:24 +0000 (20 17:20 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 23 Sep 2020 17:11:33 +0000 (23 19:11 +0200)
treeabea15fd736ac8f44ae72b9b5d6577014e263810
parentab800bb38b2d275209071e6c4f38c4269c178102
vhost-vdpa: remove useless variable

in vhost_vdpa_listener_region_del(), try_unmap is always true and so,
vhost_vdpa_dma_unmap() is always called. We can remove the variable

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200920152024.860172-1-lvivier@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/virtio/vhost-vdpa.c