On 5/7/20 7:11 AM, Philippe Mathieu-Daudé wrote:
block_copy_do_copy() is static, only used in block_copy_task_entry with the error_is_read argument set. No need to check for it, simplify.Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> --- block/block-copy.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-)
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org