From c9dede2d482676440cb6e826ebe87450965fe679 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Fri, 6 Oct 2017 23:03:55 +0200 Subject: migration: No need to return the size of the cache After the previous commits, we make sure that the value passed is right, or we just drop an error. So now we return if there is one error or we have setup correctly the value passed. Signed-off-by: Juan Quintela Reviewed-by: Dr. David Alan Gilbert -- Improve error messasge Return 0 always for success --- migration/ram.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration/ram.h') diff --git a/migration/ram.h b/migration/ram.h index f9f7eef894..64d81e9f1d 100644 --- a/migration/ram.h +++ b/migration/ram.h @@ -35,7 +35,7 @@ extern MigrationStats ram_counters; extern XBZRLECacheStats xbzrle_counters; -int64_t xbzrle_cache_resize(int64_t new_size, Error **errp); +int xbzrle_cache_resize(int64_t new_size, Error **errp); uint64_t ram_bytes_remaining(void); uint64_t ram_bytes_total(void); -- cgit v1.2.1