summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorMax Reitz2020-02-18 11:34:38 +0100
committerKevin Wolf2020-02-18 11:55:39 +0100
commita851ad4cacc57bae6161f95de836a43011f4b906 (patch)
treed455bc95c32191fe55f2eada88220723198dee50 /include/block
parentblockdev: Allow resizing everywhere (diff)
downloadqemu-a851ad4cacc57bae6161f95de836a43011f4b906.tar.gz
qemu-a851ad4cacc57bae6161f95de836a43011f4b906.tar.xz
qemu-a851ad4cacc57bae6161f95de836a43011f4b906.zip
block: Drop bdrv_is_first_non_filter()
It is unused now. (And it was ugly because it needed to explore all BDS chains from the top.) Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200218103454.296704-4-mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h
index 6cd566324d..6a8462a5bc 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -394,7 +394,6 @@ int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts,
/* external snapshots */
bool bdrv_recurse_is_first_non_filter(BlockDriverState *bs,
BlockDriverState *candidate);
-bool bdrv_is_first_non_filter(BlockDriverState *candidate);
/* check if a named node can be replaced when doing drive-mirror */
BlockDriverState *check_to_replace_node(BlockDriverState *parent_bs,