summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-09-09 15:44:09 +0000
committerThomas Martitz <kugel@rockbox.org>2011-09-09 15:44:09 +0000
commit49b64f13e548f5622d2932e3dd5c77b65c1d9fdd (patch)
tree4a4c9ed010ca8776adf839884276613eb49c09bb
parentf7cff8bd69adf6f6345fc1d7742f62d5a919ecde (diff)
Remove obsolete comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30488 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/buflib.c4
1 files changed, 1 insertions, 3 deletions
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)