Remove unused free() function
Since coreboot is running very short, we don't free memory. Hence, drop (dummy) free() Change-Id: I6e2737f07c6b9f73ebfad7d124b97a57cb7454a3 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1274 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
fe5539c041
commit
52e61183cc
|
@ -14,7 +14,6 @@
|
|||
#if !defined(__PRE_RAM__)
|
||||
void *memalign(size_t boundary, size_t size);
|
||||
void *malloc(size_t size);
|
||||
void free(void *ptr);
|
||||
#endif
|
||||
|
||||
#endif /* STDLIB_H */
|
||||
|
|
|
@ -45,9 +45,3 @@ void *malloc(size_t size)
|
|||
{
|
||||
return memalign(sizeof(u64), size);
|
||||
}
|
||||
|
||||
void free(void *where)
|
||||
{
|
||||
/* Don't care */
|
||||
MALLOCDBG("free %p\n", where);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue