curl: Drop curl_aiocb_info.cancel
Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
9784e70f3d
commit
facb5539d6
@ -613,14 +613,8 @@ out_noclean:
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void curl_aio_cancel(BlockDriverAIOCB *blockacb)
|
|
||||||
{
|
|
||||||
// Do we have to implement canceling? Seems to work without...
|
|
||||||
}
|
|
||||||
|
|
||||||
static const AIOCBInfo curl_aiocb_info = {
|
static const AIOCBInfo curl_aiocb_info = {
|
||||||
.aiocb_size = sizeof(CURLAIOCB),
|
.aiocb_size = sizeof(CURLAIOCB),
|
||||||
.cancel = curl_aio_cancel,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user