block: Remove unused typedef of BlockDriverDirtyHandler
authorFam Zheng <famz@redhat.com>
Tue, 8 Mar 2016 04:44:56 +0000 (12:44 +0800)
committerMax Reitz <mreitz@redhat.com>
Mon, 14 Mar 2016 16:35:05 +0000 (17:35 +0100)
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1457412306-18940-6-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
include/block/block.h

index 9688d7f..eaa6426 100644 (file)
@@ -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);