summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-07-15 09:06:24 +0800
committerPekka Enberg <penberg@kernel.org>2013-08-13 09:21:46 +0300
commit68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209 (patch)
tree808efc3ec8cd5e59703e2ccfd3cb5d2a65d07e62 /mm/slub.c
parentac6434e6b804845290e4de06210fe110674140e6 (diff)
downloadop-kernel-dev-68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209.zip
op-kernel-dev-68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209.tar.gz
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 65f43be..d65bf8a 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;
OpenPOWER on IntegriCloud