summaryrefslogtreecommitdiff
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorXiaoming Ni <nixiaoming@huawei.com>2020-05-11 14:25:43 +0300
committerJens Axboe <axboe@kernel.dk>2020-05-11 18:04:05 +0300
commit8469508951d4a324b2df3b5bad75e99922c3b798 (patch)
treecb3a685adc78149140d775aefe8e58147f2b036c /fs/io_uring.c
parent7d01bd745a8f52ff2883f661235139ab6e7d23e6 (diff)
downloadlinux-8469508951d4a324b2df3b5bad75e99922c3b798.tar.xz
io_uring: remove duplicate semicolon at the end of line
Remove duplicate semicolon at the end of line in io_file_from_index() Signed-off-by: Xiaoming Ni <nixiaoming@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r--fs/io_uring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 94870d63b16a..d2e37215d05a 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -5364,7 +5364,7 @@ static inline struct file *io_file_from_index(struct io_ring_ctx *ctx,
struct fixed_file_table *table;
table = &ctx->file_data->table[index >> IORING_FILE_TABLE_SHIFT];
- return table->files[index & IORING_FILE_TABLE_MASK];;
+ return table->files[index & IORING_FILE_TABLE_MASK];
}
static int io_file_get(struct io_submit_state *state, struct io_kiocb *req,