diff mbox

drm/amd/dc: fix semicolon.cocci warnings

Message ID alpine.DEB.2.20.1702140709280.2033@hadrien (mailing list archive)
State New, archived
Headers show

Commit Message

Julia Lawall Feb. 14, 2017, 6:13 a.m. UTC
Remove unneeded semicolons.

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

CC: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add
dc display driver

 amdgpu_dm_types.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Harry Wentland Feb. 14, 2017, 5:08 p.m. UTC | #1
Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Harry

On 2017-02-14 01:13 AM, Julia Lawall wrote:
> Remove unneeded semicolons.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>
> tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
> head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
> commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add
> dc display driver
>
>   amdgpu_dm_types.c |   10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
>
> --- a/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c
> +++ b/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c
> @@ -890,11 +890,11 @@ static void copy_crtc_timing_for_drm_dis
>   	dst_mode->crtc_hsync_end = src_mode->crtc_hsync_end;
>   	dst_mode->crtc_htotal = src_mode->crtc_htotal;
>   	dst_mode->crtc_hskew = src_mode->crtc_hskew;
> -	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;;
> -	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;;
> -	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;;
> -	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;;
> -	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;;
> +	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;
> +	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;
> +	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;
> +	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;
> +	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;
>   }
>
>   static void decide_crtc_timing_for_drm_display_mode(
diff mbox

Patch

--- a/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c
+++ b/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c
@@ -890,11 +890,11 @@  static void copy_crtc_timing_for_drm_dis
 	dst_mode->crtc_hsync_end = src_mode->crtc_hsync_end;
 	dst_mode->crtc_htotal = src_mode->crtc_htotal;
 	dst_mode->crtc_hskew = src_mode->crtc_hskew;
-	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;;
-	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;;
-	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;;
-	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;;
-	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;;
+	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;
+	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;
+	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;
+	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;
+	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;
 }

 static void decide_crtc_timing_for_drm_display_mode(