drm/amdgpu: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 31 Mar 2017 10:15:10 +0000 (18:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Apr 2017 17:40:31 +0000 (13:40 -0400)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:133:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Acked-by: Huang Rui <ray.huang@amd.com>
CC: Huang Rui <ray.huang@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index 4731015..ed6e579 100644 (file)
@@ -130,7 +130,7 @@ psp_cmd_submit_buf(struct psp_context *psp,
 
        while (*((unsigned int *)psp->fence_buf) != index) {
                msleep(1);
-       };
+       }
 
        amdgpu_bo_free_kernel(&cmd_buf_bo,
                              &cmd_buf_mc_addr,