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: lvqian <lvqian@nfschina.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
This commit is contained in:
lvqian 2023-01-11 17:27:44 +08:00 • committed by Vlastimil Babka
commit 81ce2ebd19