From: David Rientjes Date: Thu, 12 May 2011 20:10:49 +0000 (-0700) Subject: slub: avoid label inside conditional X-Git-Tag: v3.0-rc1~341^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd07d87fd4b8a6af9820544b6bc6c37215d6f8ad;p=pandora-kernel.git slub: avoid label inside conditional Jumping to a label inside a conditional is considered poor style, especially considering the current organization of __slab_alloc(). This removes the 'load_from_page' label and just duplicates the three lines of code that it uses: c->node = page_to_nid(page); c->page = page; goto load_freelist; since it's probably not worth making this a separate helper function. Acked-by: Christoph Lameter Signed-off-by: David Rientjes Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed