aboutsummaryrefslogtreecommitdiff
path: root/block/throttle.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2020-02-18 11:34:45 +0100
committerKevin Wolf <kwolf@redhat.com>2020-02-18 11:55:40 +0100
commit6b4907cf4279e55207fc3fede5686324464ee413 (patch)
tree4ed52ed0333302110ad8ac435ee55b6dc7be2e38 /block/throttle.c
parent810803a87ce88abd695f07f434d00e7cd1e122e2 (diff)
downloadqemu-6b4907cf4279e55207fc3fede5686324464ee413.zip
qemu-6b4907cf4279e55207fc3fede5686324464ee413.tar.gz
qemu-6b4907cf4279e55207fc3fede5686324464ee413.tar.bz2
block: Remove bdrv_recurse_is_first_non_filter()
It no longer has any users. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200218103454.296704-11-mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/throttle.c')
-rw-r--r--block/throttle.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/block/throttle.c b/block/throttle.c
index 0349f42..71f4bb0 100644
--- a/block/throttle.c
+++ b/block/throttle.c
@@ -207,12 +207,6 @@ static void throttle_reopen_abort(BDRVReopenState *reopen_state)
reopen_state->opaque = NULL;
}
-static bool throttle_recurse_is_first_non_filter(BlockDriverState *bs,
- BlockDriverState *candidate)
-{
- return bdrv_recurse_is_first_non_filter(bs->file->bs, candidate);
-}
-
static void coroutine_fn throttle_co_drain_begin(BlockDriverState *bs)
{
ThrottleGroupMember *tgm = bs->opaque;
@@ -252,8 +246,6 @@ static BlockDriver bdrv_throttle = {
.bdrv_co_pwrite_zeroes = throttle_co_pwrite_zeroes,
.bdrv_co_pdiscard = throttle_co_pdiscard,
- .bdrv_recurse_is_first_non_filter = throttle_recurse_is_first_non_filter,
-
.bdrv_attach_aio_context = throttle_attach_aio_context,
.bdrv_detach_aio_context = throttle_detach_aio_context,