diff --git a/io_uring/filetable.c b/io_uring/filetable.c
index 7b473259f3f45ad90f5a42c8f579a32f65ccc670..68dfc6936aa7250181a981dba6bb58e1ba6115d3 100644
--- a/io_uring/filetable.c
+++ b/io_uring/filetable.c
@@ -101,8 +101,6 @@ static int io_install_fixed_file(struct io_ring_ctx *ctx, struct file *file,
 err:
 	if (needs_switch)
 		io_rsrc_node_switch(ctx, ctx->file_data);
-	if (ret)
-		fput(file);
 	return ret;
 }