aboutsummaryrefslogtreecommitdiff
path: root/lib/slub_kunit.c
diff options
context:
space:
mode:
authorGravatar Miaohe Lin <linmiaohe@huawei.com> 2022-03-22 17:14:21 +0800
committerGravatar Vlastimil Babka <vbabka@suse.cz> 2022-04-05 11:17:25 +0200
commit1e703d0548e0a2766e198c64797737d50349f46e (patch)
tree16b81c481c268b1b4c41e08f651cb13475c9567e /lib/slub_kunit.c
parentLinux 5.18-rc1 (diff)
downloadlinux-1e703d0548e0a2766e198c64797737d50349f46e.tar.gz
linux-1e703d0548e0a2766e198c64797737d50349f46e.tar.bz2
linux-1e703d0548e0a2766e198c64797737d50349f46e.zip
mm/slab: remove some unused functions
alternate_node_alloc and ____cache_alloc_node are always called when CONFIG_NUMA. So we can remove the unused !CONFIG_NUMA variant. Also forward declaration for alternate_node_alloc is unnecessary. Remove it too. [ vbabka@suse.cz: move ____cache_alloc_node() declaration closer to its callers ] Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev> Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Link: https://lore.kernel.org/r/20220322091421.25285-1-linmiaohe@huawei.com
Diffstat (limited to 'lib/slub_kunit.c')
0 files changed, 0 insertions, 0 deletions