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:
Родитель
ac6434e6b8
Коммит
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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче