]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c
authorzhengbin <zhengbin13@huawei.com>
Sat, 14 Dec 2019 09:02:24 +0000 (17:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:11 +0000 (16:09 -0500)
Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:318:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

index d5346dc2523ac3b1a76b3458413d141133dfb88b..ad593d1c2576d64de4897f45a264fc42e296c72d 100644 (file)
@@ -315,7 +315,7 @@ static ssize_t amdgpu_ras_debugfs_ctrl_write(struct file *f, const char __user *
        default:
                ret = -EINVAL;
                break;
-       };
+       }
 
        if (ret)
                return -EINVAL;