From bc82b02218204d89f26fd1fde5aed265f40453d3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 3 Nov 2025 11:11:27 -0700 Subject: [PATCH] io_uring/memmap: remove dead io_create_region_mmap_safe() declaration No longer used and doesn't even exist, kill it from the memmap header file. Signed-off-by: Jens Axboe --- io_uring/memmap.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/io_uring/memmap.h b/io_uring/memmap.h index 58002976e0c3..f9e94458c01f 100644 --- a/io_uring/memmap.h +++ b/io_uring/memmap.h @@ -21,11 +21,6 @@ int io_create_region(struct io_ring_ctx *ctx, struct io_mapped_region *mr, struct io_uring_region_desc *reg, unsigned long mmap_offset); -int io_create_region_mmap_safe(struct io_ring_ctx *ctx, - struct io_mapped_region *mr, - struct io_uring_region_desc *reg, - unsigned long mmap_offset); - static inline void *io_region_get_ptr(struct io_mapped_region *mr) { return mr->ptr; -- 2.47.3