SLUB: killed the unused "end" variable
Subsystems (2)
PATCH 1/1 SLUB: killed the unused "end" variable
Since the macro "for_each_object" introduced, the "end" variable becomes unused anymore.
Signed-off-by Denis Cheng <[email protected]>
--- mm/slub.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
mm/slub.c +0 -2
@@ -1080,7 +1080,6 @@ static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node)struct page *page;struct kmem_cache_node *n;void *start; -void *end;void *last;void *p;
@@ -1101,7 +1100,6 @@ static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node)SetSlabDebug (page); start =page_address (page); - end = start + s->objects * s->size;if (unlikely (s->flags &SLAB_POISON ))memset (start,POISON_INUSE ,PAGE_SIZE << s->order);
Signature · 1 line
1.5.3.4
Quoted 1 line · Denis Cheng
Since the macro "
for_each_object" introduced, the "end" variable becomes unused anymore.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>