diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1486,7 +1486,6 @@ load_freelist: | |||
1486 | if (unlikely(SlabDebug(c->page))) | 1486 | if (unlikely(SlabDebug(c->page))) |
1487 | goto debug; | 1487 | goto debug; |
1488 | 1488 | ||
1489 | object = c->page->freelist; | ||
1490 | c->freelist = object[c->offset]; | 1489 | c->freelist = object[c->offset]; |
1491 | c->page->inuse = s->objects; | 1490 | c->page->inuse = s->objects; |
1492 | c->page->freelist = NULL; | 1491 | c->page->freelist = NULL; |
@@ -1542,7 +1541,6 @@ new_slab: | |||
1542 | 1541 | ||
1543 | return NULL; | 1542 | return NULL; |
1544 | debug: | 1543 | debug: |
1545 | object = c->page->freelist; | ||
1546 | if (!alloc_debug_processing(s, c->page, object, addr)) | 1544 | if (!alloc_debug_processing(s, c->page, object, addr)) |
1547 | goto another_slab; | 1545 | goto another_slab; |
1548 | 1546 | ||