mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 23:30:37 +07:00
drm/amd/display: Fix brace style
Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Acked-by: Andrey Grodzovsky <andey.grodzovsky@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
9a227d263d
commit
634086b464
@ -208,24 +208,21 @@ static void remove_timer_handler(struct amdgpu_device *adev,
|
|||||||
DM_IRQ_TABLE_LOCK(adev, irq_table_flags);
|
DM_IRQ_TABLE_LOCK(adev, irq_table_flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (handler_in == NULL) {
|
/* Remove ALL handlers. */
|
||||||
/* Remove ALL handlers. */
|
if (handler_in == NULL)
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
if (handler_in == handler_temp) {
|
/* Remove a SPECIFIC handler.
|
||||||
/* Remove a SPECIFIC handler.
|
* Found our handler - we can stop here. */
|
||||||
* Found our handler - we can stop here. */
|
if (handler_in == handler_temp)
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags);
|
DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags);
|
||||||
|
|
||||||
if (handler_in != NULL && handler_removed == false) {
|
if (handler_in != NULL && handler_removed == false)
|
||||||
DRM_ERROR("DM_IRQ: handler: %p is not in the list!\n",
|
DRM_ERROR("DM_IRQ: handler: %p is not in the list!\n",
|
||||||
handler_in);
|
handler_in);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
Loading…
Reference in New Issue
Block a user