Skip to content
Commit 81ce2ebd authored by lvqian's avatar lvqian Committed by Vlastimil Babka
Browse files

mm/slab.c: cleanup is_debug_pagealloc_cache()



Remove the if statement to increase code readability.
Also make the function inline, per David.

Signed-off-by: default avatarlvqian <lvqian@nfschina.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
parent c034c6a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment