Re: [Qemu-devel] [PATCH 6/7] qcow2: make qcow2_cache_put() a void function

2015-05-07 Thread Stefan Hajnoczi
On Wed, May 06, 2015 at 04:39:30PM +0300, Alberto Garcia wrote: > 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 > --- > block/qcow2-cache.c| 7 +-- > block/qcow2-cluster.c | 50

[Qemu-devel] [PATCH 6/7] qcow2: make qcow2_cache_put() a void function

2015-05-06 Thread Alberto Garcia
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 --- block/qcow2-cache.c| 7 +-- block/qcow2-cluster.c | 50 ++ block/qcow2-refcount.c | 29