aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 84f59fde1a10..9acb413858ac 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1080,7 +1080,6 @@ static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node)
1080 struct page *page; 1080 struct page *page;
1081 struct kmem_cache_node *n; 1081 struct kmem_cache_node *n;
1082 void *start; 1082 void *start;
1083 void *end;
1084 void *last; 1083 void *last;
1085 void *p; 1084 void *p;
1086 1085
@@ -1101,7 +1100,6 @@ static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node)
1101 SetSlabDebug(page); 1100 SetSlabDebug(page);
1102 1101
1103 start = page_address(page); 1102 start = page_address(page);
1104 end = start + s->objects * s->size;
1105 1103
1106 if (unlikely(s->flags & SLAB_POISON)) 1104 if (unlikely(s->flags & SLAB_POISON))
1107 memset(start, POISON_INUSE, PAGE_SIZE << s->order); 1105 memset(start, POISON_INUSE, PAGE_SIZE << s->order);