Skip to content

Commit

Permalink
mm/slub.c: beautify code for removing redundancy 'break' statement.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chen Gang authored and Pekka Enberg committed Aug 13, 2013
1 parent ac6434e commit 68f0665
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68f0665

Please sign in to comment.