Commit 49a78d085fa6b44d6ed791923c7172a6433589c2

Authored by Linus Torvalds
1 parent 3f5785ec31

slub: remove no-longer used 'unlock_out' label

Commit a71ae47a2cbf ("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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -1831,7 +1831,6 @@
1831 1831 page->inuse = page->objects;
1832 1832 page->freelist = NULL;
1833 1833  
1834   -unlock_out:
1835 1834 slab_unlock(page);
1836 1835 c->tid = next_tid(c->tid);
1837 1836 local_irq_restore(flags);