diff options
author | Vladimir Sementsov-Ogievskiy | 2021-01-16 22:47:01 +0100 |
---|---|---|
committer | Max Reitz | 2021-01-26 14:36:37 +0100 |
commit | 5b49c2bdc1307bc9c96c598cfe52a352f834c149 (patch) | |
tree | 6e24cf2da8bed0fa19c1656177588d968a0c249e /include | |
parent | qapi: backup: disable copy_range by default (diff) | |
download | qemu-5b49c2bdc1307bc9c96c598cfe52a352f834c149.tar.gz qemu-5b49c2bdc1307bc9c96c598cfe52a352f834c149.tar.xz qemu-5b49c2bdc1307bc9c96c598cfe52a352f834c149.zip |
block/block-copy: drop unused block_copy_set_progress_callback()
Drop unused code.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210116214705.822267-20-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/block/block-copy.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/block/block-copy.h b/include/block/block-copy.h index 7821850f88..1cbea0b79b 100644 --- a/include/block/block-copy.h +++ b/include/block/block-copy.h @@ -18,7 +18,6 @@ #include "block/block.h" #include "qemu/co-shared-resource.h" -typedef void (*ProgressBytesCallbackFunc)(int64_t bytes, void *opaque); typedef void (*BlockCopyAsyncCallbackFunc)(void *opaque); typedef struct BlockCopyState BlockCopyState; typedef struct BlockCopyCallState BlockCopyCallState; @@ -28,11 +27,6 @@ BlockCopyState *block_copy_state_new(BdrvChild *source, BdrvChild *target, BdrvRequestFlags write_flags, Error **errp); -void block_copy_set_progress_callback( - BlockCopyState *s, - ProgressBytesCallbackFunc progress_bytes_callback, - void *progress_opaque); - void block_copy_set_progress_meter(BlockCopyState *s, ProgressMeter *pm); void block_copy_state_free(BlockCopyState *s); |