diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-07-15 03:06:24 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-08-13 08:21:46 +0200 |
commit | 68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209 (patch) | |
tree | 808efc3ec8cd5e59703e2ccfd3cb5d2a65d07e62 /mm | |
parent | slub: Remove unnecessary page NULL check (diff) | |
download | linux-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')
-rw-r--r-- | mm/slub.c | 1 |
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; |