aboutsummaryrefslogtreecommitdiff
path: root/block/io.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-05-30 11:17:32 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2016-06-07 14:40:51 +0100
commita7944dfad09626320791e62be6e2c9ee204c0c1c (patch)
treef9beb3fd0a93a4144b06aad28fc0d38be545f8e8 /block/io.c
parent3a90c4ace2c3b368be419f02b0b09ab596877706 (diff)
downloadqemu-a7944dfad09626320791e62be6e2c9ee204c0c1c.zip
qemu-a7944dfad09626320791e62be6e2c9ee204c0c1c.tar.gz
qemu-a7944dfad09626320791e62be6e2c9ee204c0c1c.tar.bz2
block/io: Remove unused bdrv_aio_write_zeroes()
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-id: 1464599852-15392-1-git-send-email-kwolf@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/io.c')
-rw-r--r--block/io.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/block/io.c b/block/io.c
index 2d832aa..7ac9897 100644
--- a/block/io.c
+++ b/block/io.c
@@ -1865,17 +1865,6 @@ BlockAIOCB *bdrv_aio_writev(BlockDriverState *bs, int64_t sector_num,
cb, opaque, true);
}
-BlockAIOCB *bdrv_aio_write_zeroes(BlockDriverState *bs,
- int64_t sector_num, int nb_sectors, BdrvRequestFlags flags,
- BlockCompletionFunc *cb, void *opaque)
-{
- trace_bdrv_aio_write_zeroes(bs, sector_num, nb_sectors, flags, opaque);
-
- return bdrv_co_aio_rw_vector(bs, sector_num, NULL, nb_sectors,
- BDRV_REQ_ZERO_WRITE | flags,
- cb, opaque, true);
-}
-
void bdrv_aio_cancel(BlockAIOCB *acb)
{
qemu_aio_ref(acb);