forked from Minki/linux
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>
This commit is contained in:
parent
ac6434e6b8
commit
68f06650ea
@ -878,7 +878,6 @@ static int on_freelist(struct kmem_cache *s, struct page *page, void *search)
|
|||||||
object_err(s, page, object,
|
object_err(s, page, object,
|
||||||
"Freechain corrupt");
|
"Freechain corrupt");
|
||||||
set_freepointer(s, object, NULL);
|
set_freepointer(s, object, NULL);
|
||||||
break;
|
|
||||||
} else {
|
} else {
|
||||||
slab_err(s, page, "Freepointer corrupt");
|
slab_err(s, page, "Freepointer corrupt");
|
||||||
page->freelist = NULL;
|
page->freelist = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user