diff options
author | Xiongwei Song <xiongwei.song@windriver.com> | 2023-04-13 22:34:51 +0800 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2023-05-22 15:20:21 +0200 |
commit | 4f174a8bacebf57ffa18be0439b9ed7ee6d00c70 (patch) | |
tree | 64831b19b328c37b275ce0ca4219a0348707829f /drivers/ata | |
parent | c6c17c4dc36684fe119a1d40eb41ea65677bdfae (diff) | |
download | linux-4f174a8bacebf57ffa18be0439b9ed7ee6d00c70.tar.gz linux-4f174a8bacebf57ffa18be0439b9ed7ee6d00c70.tar.bz2 linux-4f174a8bacebf57ffa18be0439b9ed7ee6d00c70.zip |
slub: Remove slabs_node() function
When traversing nodes one by one, the get_node() function called in
for_each_kmem_cache_node macro, no need to call get_node() again in
slabs_node(), just reading nr_slabs field should be enough. However, the
node_nr_slabs() function can do this. Hence, the slabs_node() function
is not needed anymore.
Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions