summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2015-10-21 21:36:05 +0300
committerKevin Wolf <kwolf@redhat.com>2015-10-23 18:18:23 +0200
commitd87d01e16a0e59a6af9634162cf0ded142b43e0d (patch)
treea73b53d521ec360334716d4ace5cb99b43e899e0 /include/block
parentbd745e238bb9432f40c875b6b4ad96a3d90e16a0 (diff)
downloadhqemu-d87d01e16a0e59a6af9634162cf0ded142b43e0d.zip
hqemu-d87d01e16a0e59a6af9634162cf0ded142b43e0d.tar.gz
throttle: Remove throttle_group_lock/unlock()
The group throttling code was always meant to handle its locking internally. However, bdrv_swap() was touching the ThrottleGroup structure directly and therefore needed an API for that. Now that bdrv_swap() no longer exists there's no need for the throttle_group_lock() API anymore. Signed-off-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/throttle-groups.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/block/throttle-groups.h b/include/block/throttle-groups.h
index f3b75b3..aba28f3 100644
--- a/include/block/throttle-groups.h
+++ b/include/block/throttle-groups.h
@@ -43,7 +43,4 @@ void coroutine_fn throttle_group_co_io_limits_intercept(BlockDriverState *bs,
unsigned int bytes,
bool is_write);
-void throttle_group_lock(BlockDriverState *bs);
-void throttle_group_unlock(BlockDriverState *bs);
-
#endif
OpenPOWER on IntegriCloud