]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: make qcow2_cache_put() a void function
authorAlberto Garcia <berto@igalia.com>
Mon, 11 May 2015 12:54:58 +0000 (15:54 +0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 22 May 2015 15:08:01 +0000 (17:08 +0200)
commita3f1afb43a09e4577571c044c48f2ba9e6e4ad06
treed53fd22a0e05be8ca23ab773f478ac1beea7b2fe
parent812e4082cae73e12fd425cace4fd3a715a7c1d32
qcow2: make qcow2_cache_put() a void function

This function never receives an invalid table pointer, so we can make
it void and remove all the error checking code.

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>
block/qcow2-cache.c
block/qcow2-cluster.c
block/qcow2-refcount.c
block/qcow2.h