aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXiongwei Song <xiongwei.song@windriver.com>2024-04-04 13:58:24 +0800
committerVlastimil Babka <vbabka@suse.cz>2024-04-04 11:10:35 +0200
commitacc8f4dbf1b3293dc0b5a51eadde086123806c0f (patch)
tree874391ebbf421e1e1bfbfb87b670a60a1cb6f200 /net
parent9198ffbd2b494daae3a67cac1d59c3a2754e64cd (diff)
mm/slub: remove the check of !kmem_cache_has_cpu_partial()
The check of !kmem_cache_has_cpu_partial(s) with CONFIG_SLUB_CPU_PARTIAL enabled here is always false. We have already checked kmem_cache_debug() earlier and if it was true, then we either continued or broke from the loop so we can't reach this code in that case and don't need to check kmem_cache_debug() as part of kmem_cache_has_cpu_partial() again. Here we can remove it. Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions