From e3ddef25e93e7f00c2c407a6fb24b2c5dd26a43b Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Tue, 26 Apr 2016 17:28:25 +0200 Subject: block: Remove BlockDriver.bdrv_read/write There are no block drivers left that implement the old .bdrv_read/write interface, so it can be removed now. This gets us rid of the corresponding emulation functions, too. Signed-off-by: Kevin Wolf Reviewed-by: Fam Zheng --- block.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'block.c') diff --git a/block.c b/block.c index 6cbad0e..d70ae55 100644 --- a/block.c +++ b/block.c @@ -218,8 +218,6 @@ void bdrv_get_full_backing_filename(BlockDriverState *bs, char *dest, size_t sz, void bdrv_register(BlockDriver *bdrv) { - bdrv_setup_io_funcs(bdrv); - QLIST_INSERT_HEAD(&bdrv_drivers, bdrv, list); } -- cgit v1.1