diff options
author | Bart Van Assche <[email protected]> | 2024-06-05 08:51:00 -0600 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-06-09 11:15:27 +0300 |
commit | a1babdb5b615751ef5ace97a37f35d0ae40fbf13 (patch) | |
tree | 1b360db97dc8174ae40cbda6ccf83c7265f322bc /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | e1168f09b3314992f1c5251f3793102035da7237 (diff) |
RDMA/iwcm: Simplify cm_work_handler()
Instead of complicating the code to avoid a spin_lock_irqsave() /
spin_lock_irqrestore() pair before returning, simplify the code by removing
the local variable 'empty'.
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions