aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2011-05-12 20:10:49 +0000
committerPekka Enberg <[email protected]>2011-05-17 19:19:00 +0000
commitbd07d87fd4b8a6af9820544b6bc6c37215d6f8ad (patch)
tree521042275e3bf152056b5683f637f5750ccf9edb /net/unix/af_unix.c
parentslub: Make CONFIG_DEBUG_PAGE_ALLOC work with new fastpath (diff)
downloadkernel-bd07d87fd4b8a6af9820544b6bc6c37215d6f8ad.tar.gz
kernel-bd07d87fd4b8a6af9820544b6bc6c37215d6f8ad.zip
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 <[email protected]> Signed-off-by: David Rientjes <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions