summaryrefslogtreecommitdiff
path: root/block/curl.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-09-11 13:41:19 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-22 11:39:10 +0100
commitfacb5539d6662e8208fc9a763719a5367d4e65d4 (patch)
tree1ab64df2dc8c09fff0cf954647a058f18f1f060a /block/curl.c
parent9784e70f3d6b9805b5291f71f2543e346fe08433 (diff)
curl: Drop curl_aiocb_info.cancel
Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/curl.c')
-rw-r--r--block/curl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/block/curl.c b/block/curl.c
index 938f9d94e8..6f5d6aebb2 100644
--- a/block/curl.c
+++ b/block/curl.c
@@ -613,14 +613,8 @@ out_noclean:
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,
};