Re: [PATCH] vhost-vdpa: remove useless variable

2020-09-23 Thread Laurent Vivier
Le 20/09/2020 à 17:59, Philippe Mathieu-Daudé a écrit : > Cc'ing qemu-trivial@ > > On 9/20/20 5:20 PM, Laurent Vivier wrote: >> 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

Re: [PATCH] vhost-vdpa: remove useless variable

2020-09-20 Thread Li Qiang
Laurent Vivier 于2020年9月20日周日 下午11:21写道: > > 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 Reviewed-by: Li Qiang > --- > hw/virtio/vhost-vdpa.c | 9 +++-- > 1

Re: [PATCH] vhost-vdpa: remove useless variable

2020-09-20 Thread Philippe Mathieu-Daudé
Cc'ing qemu-trivial@ On 9/20/20 5:20 PM, Laurent Vivier wrote: > 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 Reviewed-by: Philippe Mathieu-Daudé > --- >

[PATCH] vhost-vdpa: remove useless variable

2020-09-20 Thread Laurent Vivier
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 --- hw/virtio/vhost-vdpa.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hw/virtio/vhost-vdpa.c