Messages in this thread | | | From | Jens Axboe <> | Subject | Re: [PATCH] io_uring: remove redundant assignment to ret in io_register_iowq_max_workers() | Date | Tue, 02 Nov 2021 14:29:26 -0600 |
| |
On Wed, 3 Nov 2021 02:05:21 +0700, Nghia Le wrote: > After the assignment, only exit path with label 'err' uses ret as > return value. However,before exiting through this path with label 'err', > ret is assigned with the return value of io_wq_max_workers(). Hence, the > initial assignment is redundant and can be removed. > >
Applied, thanks!
[1/1] io_uring: remove redundant assignment to ret in io_register_iowq_max_workers() commit: 83956c86fffe0465408c7d62e925d88748075e00
Best regards, -- Jens Axboe
| |