summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-07-15 03:06:24 +0200
committerPekka Enberg <penberg@kernel.org>2013-08-13 08:21:46 +0200
commit68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209 (patch)
tree808efc3ec8cd5e59703e2ccfd3cb5d2a65d07e62 /mm/slub.c
parentslub: Remove unnecessary page NULL check (diff)
downloadlinux-68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209.tar.xz
linux-68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209.zip
mm/slub.c: beautify code for removing redundancy 'break' statement.
Remove redundancy 'break' statement. Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Pekka Enberg <penberg@kernel.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 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;