Messages in this thread | | | Date | Mon, 4 Apr 2022 12:10:02 -0700 | From | Roman Gushchin <> | Subject | Re: [PATCH] mm/slab: remove some unused functions |
| |
On Tue, Mar 22, 2022 at 05:14:21PM +0800, Miaohe Lin wrote: > 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. > > Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev>
Thanks!
| |