dect
/
linux-2.6
Archived
13
0
Fork 0

slub: remove no-longer used 'unlock_out' label

Commit a71ae47a2c ("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>
This commit is contained in:
Linus Torvalds 2011-05-25 18:06:54 -07:00
parent 3f5785ec31
commit 49a78d085f
1 changed files with 0 additions and 1 deletions

View File

@ -1831,7 +1831,6 @@ load_freelist:
page->inuse = page->objects;
page->freelist = NULL;
unlock_out:
slab_unlock(page);
c->tid = next_tid(c->tid);
local_irq_restore(flags);