commit | fdfbca82a0874916007ca76323cd35f2af8a2ef3 | [log] [tgz] |
---|---|---|
author | Alberto Garcia <berto@igalia.com> | Mon May 11 15:54:56 2015 +0300 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri May 22 17:08:01 2015 +0200 |
tree | 45feadf98a360346bfc97582a426b1408537f9a1 | |
parent | 2693310eccccf8351678ddd6f3b050163e51dba0 [diff] |
qcow2: remove qcow2_cache_find_entry_to_replace() A cache miss means that the whole array was traversed and the entry we were looking for was not found, so there's no need to traverse it again in order to select an entry to replace. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>