]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block/qcow2-cache.c
qcow2: Remove BDS parameter from qcow2_cache_clean_unused()
[mirror_qemu.git] / block / qcow2-cache.c
index 6f17a286351059b1848e4bd907540366b0d3af9b..03b3e03c6c9bc20136f0cbfc2a8cb50c25ef3d5d 100644 (file)
@@ -93,7 +93,7 @@ static inline bool can_clean_entry(Qcow2Cache *c, int i)
         t->lru_counter <= c->cache_clean_lru_counter;
 }
 
-void qcow2_cache_clean_unused(BlockDriverState *bs, Qcow2Cache *c)
+void qcow2_cache_clean_unused(Qcow2Cache *c)
 {
     int i = 0;
     while (i < c->size) {