projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36a205
)
io_uring: remove unused argument from io_rsrc_node_alloc
author
Usama Arif
<usama.arif@bytedance.com>
Thu, 27 Jan 2022 14:04:44 +0000
(14:04 +0000)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 27 Jan 2022 17:18:53 +0000
(10:18 -0700)
io_ring_ctx is not used in the function.
Signed-off-by: Usama Arif <usama.arif@bytedance.com>
Link:
https://lore.kernel.org/r/20220127140444.4016585-1-usama.arif@bytedance.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index
dd4c801
..
2e04f71
100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-7846,7
+7846,7
@@
static __cold void io_rsrc_node_ref_zero(struct percpu_ref *ref)
mod_delayed_work(system_wq, &ctx->rsrc_put_work, delay);
}
-static struct io_rsrc_node *io_rsrc_node_alloc(
struct io_ring_ctx *ctx
)
+static struct io_rsrc_node *io_rsrc_node_alloc(
void
)
{
struct io_rsrc_node *ref_node;
@@
-7897,7
+7897,7
@@
static int io_rsrc_node_switch_start(struct io_ring_ctx *ctx)
{
if (ctx->rsrc_backup_node)
return 0;
- ctx->rsrc_backup_node = io_rsrc_node_alloc(
ctx
);
+ ctx->rsrc_backup_node = io_rsrc_node_alloc();
return ctx->rsrc_backup_node ? 0 : -ENOMEM;
}