Skip to content

Commit

Permalink
curl: Drop curl_aiocb_info.cancel
Browse files Browse the repository at this point in the history
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
  • Loading branch information
Fam Zheng authored and stefanhaRH committed Sep 22, 2014
1 parent 9784e70 commit facb553
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions block/curl.c
Expand Up @@ -613,14 +613,8 @@ static int curl_open(BlockDriverState *bs, QDict *options, int flags,
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 = {
.aiocb_size = sizeof(CURLAIOCB),
.cancel = curl_aio_cancel,
};


Expand Down

0 comments on commit facb553

Please sign in to comment.