提交 634086b4 编写于 作者: T Tom St Denis 提交者: Alex Deucher

drm/amd/display: Fix brace style

Signed-off-by: NTom St Denis <tom.stdenis@amd.com>
Acked-by: NAndrey Grodzovsky  <andey.grodzovsky@amd.com>
Reviewed-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 9a227d26
...@@ -208,24 +208,21 @@ static void remove_timer_handler(struct amdgpu_device *adev, ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册