diff options
author | Bart Van Assche <[email protected]> | 2024-06-05 08:50:59 -0600 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-06-09 11:15:27 +0300 |
commit | e1168f09b3314992f1c5251f3793102035da7237 (patch) | |
tree | 19e144a9a539d8801056d4bb672ce3dc66334c8e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h | |
parent | fc772e38bce5635bc1d7efae7198a305504ad112 (diff) |
RDMA/iwcm: Simplify cm_event_handler()
queue_work() can test efficiently whether or not work is pending. Hence,
simplify cm_event_handler() by always calling queue_work() instead of only
if the list with pending work is 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_gem.h')
0 files changed, 0 insertions, 0 deletions