From 3c9242f5ae8ca37bb5775747e34999fe8cdfee2f Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Thu, 18 Feb 2016 12:26:54 +0200 Subject: throttle: Make throttle_compute_timer() static This function is only used internally in throttle.c Signed-off-by: Alberto Garcia Reviewed-by: Kevin Wolf Reviewed-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- include/qemu/throttle.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/qemu/throttle.h') diff --git a/include/qemu/throttle.h b/include/qemu/throttle.h index d0c98ed..52c98d9 100644 --- a/include/qemu/throttle.h +++ b/include/qemu/throttle.h @@ -84,12 +84,6 @@ void throttle_leak_bucket(LeakyBucket *bkt, int64_t delta); int64_t throttle_compute_wait(LeakyBucket *bkt); -/* expose timer computation function for unit tests */ -bool throttle_compute_timer(ThrottleState *ts, - bool is_write, - int64_t now, - int64_t *next_timestamp); - /* init/destroy cycle */ void throttle_init(ThrottleState *ts); -- cgit v1.1