summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-11-03 11:11:27 -0700
committerJens Axboe <axboe@kernel.dk>2025-11-04 09:32:08 -0700
commitbc82b02218204d89f26fd1fde5aed265f40453d3 (patch)
tree72a068f40dab810e024bdd9c504b38bb606c2293
parent3615e3f7947a3c1cb15d362da921ac46d771e02c (diff)
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>
-rw-r--r--io_uring/memmap.h5
1 files changed, 0 insertions, 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;