From fcce736719d04effab3d9a07d29ab4cecaf841dd Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Tue, 8 Mar 2016 12:44:56 +0800 Subject: [PATCH] block: Remove unused typedef of BlockDriverDirtyHandler Signed-off-by: Fam Zheng Reviewed-by: John Snow Message-id: 1457412306-18940-6-git-send-email-famz@redhat.com Signed-off-by: Max Reitz --- include/block/block.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/block/block.h b/include/block/block.h index 9688d7f421..eaa64262d9 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -321,8 +321,6 @@ BlockDriverState *check_to_replace_node(BlockDriverState *parent_bs, const char *node_name, Error **errp); /* async block I/O */ -typedef void BlockDriverDirtyHandler(BlockDriverState *bs, int64_t sector, - int sector_num); BlockAIOCB *bdrv_aio_readv(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *iov, int nb_sectors, BlockCompletionFunc *cb, void *opaque);