提交 9c3578af 编写于 作者: E Edward O'Callaghan 提交者: Alex Deucher

drivers/amdgpu: Remove spurious semicolons

Found-by: Coccinelle
Signed-off-by: NEdward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: NTom St Denis <tom.stdenis@amd.com>
Reviewed-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 36e6b912
...@@ -122,7 +122,7 @@ static void amdgpu_flip_work_func(struct work_struct *__work) ...@@ -122,7 +122,7 @@ static void amdgpu_flip_work_func(struct work_struct *__work)
spin_unlock_irqrestore(&crtc->dev->event_lock, flags); spin_unlock_irqrestore(&crtc->dev->event_lock, flags);
usleep_range(min_udelay, 2 * min_udelay); usleep_range(min_udelay, 2 * min_udelay);
spin_lock_irqsave(&crtc->dev->event_lock, flags); spin_lock_irqsave(&crtc->dev->event_lock, flags);
}; }
if (!repcnt) if (!repcnt)
DRM_DEBUG_DRIVER("Delay problem on crtc %d: min_udelay %d, " DRM_DEBUG_DRIVER("Delay problem on crtc %d: min_udelay %d, "
......
...@@ -173,7 +173,7 @@ static int fiji_send_msg_to_smc(struct amdgpu_device *adev, PPSMC_Msg msg) ...@@ -173,7 +173,7 @@ static int fiji_send_msg_to_smc(struct amdgpu_device *adev, PPSMC_Msg msg)
{ {
if (!fiji_is_smc_ram_running(adev)) if (!fiji_is_smc_ram_running(adev))
{ {
return -EINVAL;; return -EINVAL;
} }
if (wait_smu_response(adev)) { if (wait_smu_response(adev)) {
......
...@@ -211,7 +211,7 @@ static int iceland_send_msg_to_smc_without_waiting(struct amdgpu_device *adev, ...@@ -211,7 +211,7 @@ static int iceland_send_msg_to_smc_without_waiting(struct amdgpu_device *adev,
PPSMC_Msg msg) PPSMC_Msg msg)
{ {
if (!iceland_is_smc_ram_running(adev)) if (!iceland_is_smc_ram_running(adev))
return -EINVAL;; return -EINVAL;
if (wait_smu_response(adev)) { if (wait_smu_response(adev)) {
DRM_ERROR("Failed to send previous message\n"); DRM_ERROR("Failed to send previous message\n");
......
...@@ -173,7 +173,7 @@ static int tonga_send_msg_to_smc(struct amdgpu_device *adev, PPSMC_Msg msg) ...@@ -173,7 +173,7 @@ static int tonga_send_msg_to_smc(struct amdgpu_device *adev, PPSMC_Msg msg)
{ {
if (!tonga_is_smc_ram_running(adev)) if (!tonga_is_smc_ram_running(adev))
{ {
return -EINVAL;; return -EINVAL;
} }
if (wait_smu_response(adev)) { if (wait_smu_response(adev)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册