io_uring: remove duplicate semicolon at the end of line
authorXiaoming Ni <nixiaoming@huawei.com>
Mon, 11 May 2020 11:25:43 +0000 (19:25 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 May 2020 15:04:05 +0000 (09:04 -0600)
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>
fs/io_uring.c

index 94870d6..d2e3721 100644 (file)
@@ -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,