diff options
| author | Fam Zheng | 2014-09-11 07:41:27 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-09-22 12:39:16 +0200 |
| commit | ca5fd113b8ae5898853a757e06cb8d8a0c5e5d85 (patch) | |
| tree | 020198549da77af2ddc19954f38799aadfa406f1 /include/block | |
| parent | ide: Convert trim_aiocb_info.cancel to .cancel_async (diff) | |
| download | qemu-ca5fd113b8ae5898853a757e06cb8d8a0c5e5d85.tar.gz qemu-ca5fd113b8ae5898853a757e06cb8d8a0c5e5d85.tar.xz qemu-ca5fd113b8ae5898853a757e06cb8d8a0c5e5d85.zip | |
block: Drop AIOCBInfo.cancel
Now that all the implementations are converted to asynchronous version
and we can emulate synchronous cancellation with it. Let's drop the
unused member.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block')
| -rw-r--r-- | include/block/aio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/aio.h b/include/block/aio.h index ad361e34c7..f2d0582bd1 100644 --- a/include/block/aio.h +++ b/include/block/aio.h @@ -26,7 +26,6 @@ typedef struct BlockDriverAIOCB BlockDriverAIOCB; typedef void BlockDriverCompletionFunc(void *opaque, int ret); typedef struct AIOCBInfo { - void (*cancel)(BlockDriverAIOCB *acb); void (*cancel_async)(BlockDriverAIOCB *acb); AioContext *(*get_aio_context)(BlockDriverAIOCB *acb); size_t aiocb_size; |
