From: Linus Torvalds Date: Thu, 26 May 2011 01:06:54 +0000 (-0700) Subject: slub: remove no-longer used 'unlock_out' label X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49a78d085fa6b44d6ed791923c7172a6433589c2;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Cc: Christoph Lameter Signed-off-by: Linus Torvalds --- 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: page->inuse = page->objects; page->freelist = NULL; -unlock_out: slab_unlock(page); c->tid = next_tid(c->tid); local_irq_restore(flags);