From 29cdb2513c3f22f51d6f3585b41009576485cb35 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 12 Mar 2012 18:26:01 +0100 Subject: block: push recursive flushing up from drivers Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- block/vpc.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'block/vpc.c') diff --git a/block/vpc.c b/block/vpc.c index 6b4816f563..706faf3f38 100644 --- a/block/vpc.c +++ b/block/vpc.c @@ -507,11 +507,6 @@ static coroutine_fn int vpc_co_write(BlockDriverState *bs, int64_t sector_num, return ret; } -static coroutine_fn int vpc_co_flush(BlockDriverState *bs) -{ - return bdrv_co_flush(bs->file); -} - /* * Calculates the number of cylinders, heads and sectors per cylinder * based on a given number of sectors. This is the algorithm described @@ -789,7 +784,6 @@ static BlockDriver bdrv_vpc = { .bdrv_read = vpc_co_read, .bdrv_write = vpc_co_write, - .bdrv_co_flush_to_disk = vpc_co_flush, .create_options = vpc_create_options, }; -- cgit v1.2.1