diff options
author | Sidong Yang <sidong.yang@furiosa.ai> | 2025-01-15 14:20:31 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-21 07:07:21 -0700 |
commit | b73de0da50129d790975bb8a9893b421cc38bc24 (patch) | |
tree | 0ed74391c98a3f0c7cd37757964f62994a7d1f9e /io_uring/filetable.c | |
parent | bb2d76344bc80933a462aa84581d1258e0dc758b (diff) |
io_uring/rsrc: remove unused parameter ctx for io_rsrc_node_alloc()
io_uring_ctx parameter for io_rsrc_node_alloc() is unused for now.
This patch removes the parameter and fixes the callers accordingly.
Signed-off-by: Sidong Yang <sidong.yang@furiosa.ai>
Link: https://lore.kernel.org/r/20250115142033.658599-1-sidong.yang@furiosa.ai
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/filetable.c')
-rw-r--r-- | io_uring/filetable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/filetable.c b/io_uring/filetable.c index a21660e3145a..dd8eeec97acf 100644 --- a/io_uring/filetable.c +++ b/io_uring/filetable.c @@ -68,7 +68,7 @@ static int io_install_fixed_file(struct io_ring_ctx *ctx, struct file *file, if (slot_index >= ctx->file_table.data.nr) return -EINVAL; - node = io_rsrc_node_alloc(ctx, IORING_RSRC_FILE); + node = io_rsrc_node_alloc(IORING_RSRC_FILE); if (!node) return -ENOMEM; |