From 4b52498e62d02a30f780875f54431d1bad0bcabd Mon Sep 17 00:00:00 2001 From: Peter Lieven Date: Fri, 22 Nov 2013 13:39:52 +0100 Subject: [PATCH] block/iscsi: remove .bdrv_has_zero_init since commit 3ac21627 the default value changed to 0. Signed-off-by: Peter Lieven Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi --- block/iscsi.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/block/iscsi.c b/block/iscsi.c index b7b52381d6..b6b62aa176 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -1505,11 +1505,6 @@ static int iscsi_truncate(BlockDriverState *bs, int64_t offset) return 0; } -static int iscsi_has_zero_init(BlockDriverState *bs) -{ - return 0; -} - static int iscsi_create(const char *filename, QEMUOptionParameter *options, Error **errp) { @@ -1608,8 +1603,6 @@ static BlockDriver bdrv_iscsi = { .bdrv_aio_writev = iscsi_aio_writev, .bdrv_aio_flush = iscsi_aio_flush, - .bdrv_has_zero_init = iscsi_has_zero_init, - #ifdef __linux__ .bdrv_ioctl = iscsi_ioctl, .bdrv_aio_ioctl = iscsi_aio_ioctl, -- GitLab