projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6434e
)
mm/slub.c: beautify code for removing redundancy 'break' statement.
author
Chen Gang
<gang.chen@asianux.com>
Mon, 15 Jul 2013 01:06:24 +0000
(09:06 +0800)
committer
Pekka Enberg
<penberg@kernel.org>
Tue, 13 Aug 2013 06:21:46 +0000
(09:21 +0300)
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>
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index
65f43be
..
d65bf8a
100644
(file)
--- 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;