From 49b64f13e548f5622d2932e3dd5c77b65c1d9fdd Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 9 Sep 2011 15:44:09 +0000 Subject: Remove obsolete comment git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30488 a1c6a512-1295-4272-9138-f99709370657 --- firmware/buflib.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware') diff --git a/firmware/buflib.c b/firmware/buflib.c index 0dfbdf6f49..c144088c27 100644 --- a/firmware/buflib.c +++ b/firmware/buflib.c @@ -493,9 +493,7 @@ buffer_alloc: name_len_slot = (union buflib_data*)B_ALIGN_UP(block[3].name + name_len); name_len_slot->val = 1 + name_len/sizeof(union buflib_data); handle->alloc = (char*)(name_len_slot + 1); - /* If we have just taken the first free block, the next allocation search - * can save some time by starting after this block. - */ + block += size; /* alloc_end must be kept current if we're taking the last block. */ if (last) -- cgit v1.2.3