Commit 49a78d08 authored by Linus Torvalds's avatar Linus Torvalds

slub: remove no-longer used 'unlock_out' label

Commit a71ae47a ("slub: Fix double bit unlock in debug mode")
removed the only goto to this label, resulting in

  mm/slub.c: In function '__slab_alloc':
  mm/slub.c:1834: warning: label 'unlock_out' defined but not used

fixed trivially by the removal of the label itself too.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3f5785ec
......@@ -1831,7 +1831,6 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node,
page->inuse = page->objects;
page->freelist = NULL;
unlock_out:
slab_unlock(page);
c->tid = next_tid(c->tid);
local_irq_restore(flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment