From: Jens Axboe Date: Mon, 3 Nov 2025 18:11:27 +0000 (-0700) Subject: io_uring/memmap: remove dead io_create_region_mmap_safe() declaration X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=bc82b02218204d89f26fd1fde5aed265f40453d3;p=linux%2F.git 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 --- 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;