aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 21:06:54 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 21:06:54 -0400
commit49a78d085fa6b44d6ed791923c7172a6433589c2 (patch)
tree0fdf94bc4baf3e51f4b52c3718e6fa4f5dcb5032 /mm/slub.c
parent3f5785ec31adcb7cafa9135087297a38d9698cf8 (diff)
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>
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 4aad32d2e60d..7be0223531b0 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1831,7 +1831,6 @@ load_freelist:
1831 page->inuse = page->objects; 1831 page->inuse = page->objects;
1832 page->freelist = NULL; 1832 page->freelist = NULL;
1833 1833
1834unlock_out:
1835 slab_unlock(page); 1834 slab_unlock(page);
1836 c->tid = next_tid(c->tid); 1835 c->tid = next_tid(c->tid);
1837 local_irq_restore(flags); 1836 local_irq_restore(flags);