tiny style fix
This commit is contained in:
parent
f9a7abdd9c
commit
7fad8a3db1
|
@ -247,8 +247,7 @@ heap_alloc_heap_page(struct heap_page *page, size_t nunits)
|
||||||
|
|
||||||
for (index = page->current; index < HEADER_SIZE - (nunits + 1); ++index) {
|
for (index = page->current; index < HEADER_SIZE - (nunits + 1); ++index) {
|
||||||
if (index % UNIT_SIZE == 0 && is_marked_at(page->index, index / UNIT_SIZE, 1)) {
|
if (index % UNIT_SIZE == 0 && is_marked_at(page->index, index / UNIT_SIZE, 1)) {
|
||||||
index += UNIT_SIZE - 1;
|
index += UNIT_SIZE;
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! is_marked_at(page->bitmap, index, nunits+1)) {
|
if (! is_marked_at(page->bitmap, index, nunits+1)) {
|
||||||
|
|
Loading…
Reference in New Issue