slub: Remove CONFIG_SMP defined check
authorXiongwei Song <xiongwei.song@windriver.com>
Thu, 13 Apr 2023 14:34:50 +0000 (22:34 +0800)
committerVlastimil Babka <vbabka@suse.cz>
Mon, 22 May 2023 13:20:21 +0000 (15:20 +0200)
commitc6c17c4dc36684fe119a1d40eb41ea65677bdfae
tree23f9fa79224393beea0983071919cd46ab967244
parent81bd31793fd3be4fec2818e2267997f56ac18fb2
slub: Remove CONFIG_SMP defined check

As CONFIG_SMP is one of dependencies of CONFIG_SLUB_CPU_PARTIAL, so if
CONFIG_SLUB_CPU_PARTIAL is defined then CONFIG_SMP must be defined,
no need to check CONFIG_SMP definition here.

Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c