summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2026-09-07 19:57:29 +0900
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:54:58 -0700
commit7ade67b8d5b4792db0efa623b12b613255b4624a (patch)
treee524156952aa887e6438138c8617a8918fa24dd9 /include
parent803f6a03f243ef544d8a9fe6c9314247b34cf02b (diff)
downloadlinux-next-7ade67b8d5b4792db0efa623b12b613255b4624a.tar.gz
linux-next-7ade67b8d5b4792db0efa623b12b613255b4624a.zip
zsmalloc: remove old object read API
There are no users left of the old API, all have switched to SG-list object read API. Remove it. Link: https://lore.kernel.org/20260907105739.1793316-3-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Nhat Pham <nphamcs@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/zsmalloc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/zsmalloc.h b/include/linux/zsmalloc.h
index 478410c880b1..5b7298a5026b 100644
--- a/include/linux/zsmalloc.h
+++ b/include/linux/zsmalloc.h
@@ -40,10 +40,6 @@ unsigned int zs_lookup_class_index(struct zs_pool *pool, unsigned int size);
void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats);
-void *zs_obj_read_begin(struct zs_pool *pool, unsigned long handle,
- size_t mem_len, void *local_copy);
-void zs_obj_read_end(struct zs_pool *pool, unsigned long handle,
- size_t mem_len, void *handle_mem);
void zs_obj_read_sg_begin(struct zs_pool *pool, unsigned long handle,
struct scatterlist *sg, size_t mem_len);
void zs_obj_read_sg_end(struct zs_pool *pool, unsigned long handle);