From 1756d3d64bd61b1a7e842ad53c60ed37b3153770 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 31 Mar 2015 21:11:03 +0100 Subject: intel: remove unused mmFindBlock The function was never part of the public API and a release or so back was hidden from the global name-space (list of exported symbols). According to git log this function was never used internally. Signed-off-by: Emil Velikov --- intel/mm.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'intel/mm.c') diff --git a/intel/mm.c b/intel/mm.c index 10697452..10b74bf0 100644 --- a/intel/mm.c +++ b/intel/mm.c @@ -191,18 +191,6 @@ struct mem_block *mmAllocMem(struct mem_block *heap, int size, int align2, return p; } -struct mem_block *mmFindBlock(struct mem_block *heap, int start) -{ - struct mem_block *p; - - for (p = heap->next; p != heap; p = p->next) { - if (p->ofs == start) - return p; - } - - return NULL; -} - static int Join2Blocks(struct mem_block *p) { /* XXX there should be some assertions here */ -- cgit v1.2.3