[OpenBIOS] [PATCH v2 02/10] ppc: Remove bogus return
Andreas Färber
andreas.faerber at web.de
Mon Oct 11 14:47:37 CEST 2010
ofmem_free() has no return value and neither does free().
Signed-off-by: Andreas Färber <andreas.faerber at 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 *
--
1.7.3
More information about the OpenBIOS
mailing list