]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: Delete useless variable ‘id’ in io_prep_async_work
authorYe Bin <yebin10@huawei.com>
Tue, 5 Jan 2021 13:53:40 +0000 (21:53 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 5 Jan 2021 18:34:23 +0000 (11:34 -0700)
commit84a6d8a7da92792211b80953acf9cc7b8bb2fc74
treed63529cdce9dc626ec836626b1074284bf53be13
parent97c49006fc5696920e709b23a7999aa20dcbdbe6
io_uring: Delete useless variable ‘id’ in io_prep_async_work

Fix follow warning:
fs/io_uring.c:1523:22: warning: variable ‘id’ set but not used
[-Wunused-but-set-variable]
  struct io_identity *id;
                        ^~
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c