diff options
author | Xiu Jianfeng | 2024-03-21 13:17:33 +0000 |
---|---|---|
committer | Vlastimil Babka | 2024-03-25 09:34:41 +0100 |
commit | ad7c5ebead13323ac4a45e01bda0609629523076 (patch) | |
tree | acac6f8317c8edfffa2f0702dd26ecc5e55967b1 /mm/slab.h | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) |
mm/slub: remove dummy slabinfo functions
The SLAB implementation has been removed since 6.8, so there is no
other version of slabinfo_show_stats() and slabinfo_write(), then we
can remove these two dummy functions.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/slab.h')
-rw-r--r-- | mm/slab.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/slab.h b/mm/slab.h index d2bc9b191222..78e205b46e19 100644 --- a/mm/slab.h +++ b/mm/slab.h @@ -496,9 +496,6 @@ struct slabinfo { }; void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo); -void slabinfo_show_stats(struct seq_file *m, struct kmem_cache *s); -ssize_t slabinfo_write(struct file *file, const char __user *buffer, - size_t count, loff_t *ppos); #ifdef CONFIG_SLUB_DEBUG #ifdef CONFIG_SLUB_DEBUG_ON |