From: Chen Gang Date: Mon, 15 Jul 2013 01:06:24 +0000 (+0800) Subject: mm/slub.c: beautify code for removing redundancy 'break' statement. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209;p=linux-beck.git mm/slub.c: beautify code for removing redundancy 'break' statement. Remove redundancy 'break' statement. Acked-by: Christoph Lameter Signed-off-by: Chen Gang Signed-off-by: Pekka Enberg --- diff --git a/mm/slub.c b/mm/slub.c index 65f43be318a3..d65bf8abc6e6 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -878,7 +878,6 @@ static int on_freelist(struct kmem_cache *s, struct page *page, void *search) object_err(s, page, object, "Freechain corrupt"); set_freepointer(s, object, NULL); - break; } else { slab_err(s, page, "Freepointer corrupt"); page->freelist = NULL;