mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
e551c999bc
commit
ca5fd113b8
2 changed files with 10 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue