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 <axboe@kernel.dk>
pull/1354/merge
Jens Axboe 2025-11-03 11:11:27 -07:00
parent 3615e3f794
commit bc82b02218
1 changed files with 0 additions and 5 deletions

View File

@ -21,11 +21,6 @@ int io_create_region(struct io_ring_ctx *ctx, struct io_mapped_region *mr,
struct io_uring_region_desc *reg, struct io_uring_region_desc *reg,
unsigned long mmap_offset); 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) static inline void *io_region_get_ptr(struct io_mapped_region *mr)
{ {
return mr->ptr; return mr->ptr;