Commit 08f3dddb authored by Colin Ian King's avatar Colin Ian King Committed by Alex Deucher

drm/amdgpu/display: remove redundant continue statement

The continue statement in a for-loop is redudant and can be removed.
Clean up the code to address this.

Addresses-Coverity: ("Continue as no effect")
Fixes: b6f91fc1 ("drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d0c04856
......@@ -520,9 +520,7 @@ static void amdgpu_dm_irq_schedule_work(struct amdgpu_device *adev,
return;
list_for_each_entry (handler_data, handler_list, list) {
if (!queue_work(system_highpri_wq, &handler_data->work)) {
continue;
} else {
if (queue_work(system_highpri_wq, &handler_data->work)) {
work_queued = true;
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment