io_uring/timeout: remove duplicate initialization of the io_timeout list.
authorRuyi Zhang <ruyi.zhang@samsung.com>
Thu, 11 Apr 2024 05:59:53 +0000 (13:59 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:27 +0000 (08:10 -0600)
commit4d0f4a5413490391c6cd16407a0f71b51700a68a
treefb1d988d19630f3caecdd462dde15cae4b9d20a9
parent6b231248e97fc37d4205449d48747b5a3b4c2fcc
io_uring/timeout: remove duplicate initialization of the io_timeout list.

In the __io_timeout_prep function, the io_timeout list is initialized
twice, removing the meaningless second initialization.

Signed-off-by: Ruyi Zhang <ruyi.zhang@samsung.com>
Link: https://lore.kernel.org/r/20240411055953.2029218-1-ruyi.zhang@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/timeout.c