summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-06-06 13:42:09 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2012-07-24 08:38:21 +0200
commit52e61183cc98d132754970112592e0ebe1605d42 (patch)
tree9072fafd9d1c42be45ef11e00a34c8b2e3d5ee9a /src/lib
parentfe5539c0419ca5076f050f1b5b2711b346e07e98 (diff)
downloadcoreboot-52e61183cc98d132754970112592e0ebe1605d42.tar.xz
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>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/malloc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/malloc.c b/src/lib/malloc.c
index d213a5f966..d2011a10d0 100644
--- a/src/lib/malloc.c
+++ b/src/lib/malloc.c
@@ -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);
-}