diff options
author | Olivier Langlois <olivier@trillion01.com> | 2024-10-13 14:29:12 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-06 13:55:38 -0700 |
commit | 71afd926f292bb8f3ca86e6c3c40123037f109c6 (patch) | |
tree | a48c5105f99cc4f79b5c7ef2bb0f24e3fe306c2f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | db1e1adf6f993b1c2cef605d86eff709a8db5052 (diff) | |
download | linux-71afd926f292bb8f3ca86e6c3c40123037f109c6.tar.gz linux-71afd926f292bb8f3ca86e6c3c40123037f109c6.tar.bz2 linux-71afd926f292bb8f3ca86e6c3c40123037f109c6.zip |
io_uring/napi: clean up __io_napi_do_busy_loop
__io_napi_do_busy_loop now requires to have loop_end in its parameters.
This makes the code cleaner and also has the benefit of removing a
branch since the only caller not passing NULL for loop_end_arg is also
setting the value conditionally.
Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Link: https://lore.kernel.org/r/d5b9bb91b1a08fff50525e1c18d7b4709b9ca100.1728828877.git.olivier@trillion01.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions