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:
Fam Zheng 2014-09-11 13:41:19 +08:00 committed by Stefan Hajnoczi
parent 9784e70f3d
commit facb5539d6

View File

@ -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,
}; };