]> Gentwo Git Trees - linux/.git/commitdiff
io_uring/memmap: remove dead io_create_region_mmap_safe() declaration
authorJens Axboe <axboe@kernel.dk>
Mon, 3 Nov 2025 18:11:27 +0000 (11:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Nov 2025 16:32:08 +0000 (09:32 -0700)
No longer used and doesn't even exist, kill it from the memmap header
file.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/memmap.h

index 58002976e0c342d16e0afa273f95749643881d78..f9e94458c01f45980929ba3848804947c2fbcfab 100644 (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,
                     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;