drivers/amdgpu: Remove spurious semicolons
authorEdward O'Callaghan <funfunctor@folklore1984.net>
Tue, 12 Jul 2016 00:17:51 +0000 (10:17 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:36:47 +0000 (14:36 -0400)
Found-by: Coccinelle
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/amdgpu/fiji_smc.c
drivers/gpu/drm/amd/amdgpu/iceland_smc.c
drivers/gpu/drm/amd/amdgpu/tonga_smc.c

index 7dbe8d02c5a637d42f9ea345b3cfc087966555c6..dd965f2d7d3c6046d454a61ad54fd70f34393739 100644 (file)
@@ -122,7 +122,7 @@ static void amdgpu_flip_work_func(struct work_struct *__work)
                spin_unlock_irqrestore(&crtc->dev->event_lock, flags);
                usleep_range(min_udelay, 2 * min_udelay);
                spin_lock_irqsave(&crtc->dev->event_lock, flags);
-       };
+       }
 
        if (!repcnt)
                DRM_DEBUG_DRIVER("Delay problem on crtc %d: min_udelay %d, "
index b336c918d6a7984fcb8bb6060bb2339ebb78e636..b3e19ba4c57f4b0f5e1853f476c90b899e3888bb 100644 (file)
@@ -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))
        {
-               return -EINVAL;;
+               return -EINVAL;
        }
 
        if (wait_smu_response(adev)) {
index 528571285e69647eb7c73ea89c1b333575420fed..211839913728e72e496c7edffedd57c51aaf28ff 100644 (file)
@@ -211,7 +211,7 @@ static int iceland_send_msg_to_smc_without_waiting(struct amdgpu_device *adev,
                                                   PPSMC_Msg msg)
 {
        if (!iceland_is_smc_ram_running(adev))
-               return -EINVAL;;
+               return -EINVAL;
 
        if (wait_smu_response(adev)) {
                DRM_ERROR("Failed to send previous message\n");
index 083893dd68c063db6059fee335a8667247132b14..940de1836f8f0112cf01989c34ced549ce90cc0a 100644 (file)
@@ -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))
        {
-               return -EINVAL;;
+               return -EINVAL;
        }
 
        if (wait_smu_response(adev)) {