ofmem_free() has no return value and neither does free().
Signed-off-by: Andreas Färber andreas.faerber@web.de --- arch/ppc/qemu/ofmem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/ppc/qemu/ofmem.c b/arch/ppc/qemu/ofmem.c index 7d0959b..3ec25c3 100644 --- a/arch/ppc/qemu/ofmem.c +++ b/arch/ppc/qemu/ofmem.c @@ -178,7 +178,7 @@ malloc( int size ) void free( void *ptr ) { - return ofmem_free(ptr); + ofmem_free(ptr); }
void *