Skip to content

Commit

Permalink
slub: remove no-longer used 'unlock_out' label
Browse files Browse the repository at this point in the history
Commit a71ae47 ("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: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Linus Torvalds committed May 26, 2011
1 parent 3f5785e commit 49a78d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 49a78d0

Please sign in to comment.