diff mbox

drm/amd/dc: fix semicolon.cocci warnings

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

Commit Message

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

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

 dc_resource.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

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

Harry

On 2017-02-14 01:14 AM, Julia Lawall wrote:
> Remove unneeded semicolon.
>
> 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
>
>   dc_resource.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c
> +++ b/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c
> @@ -135,7 +135,7 @@ static void update_num_audio(
>   		break;
>   	default:
>   		DC_ERR("DC: unexpected audio fuse!\n");
> -	};
> +	}
>   }
>
>   bool resource_construct(
diff mbox

Patch

--- a/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c
+++ b/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c
@@ -135,7 +135,7 @@  static void update_num_audio(
 		break;
 	default:
 		DC_ERR("DC: unexpected audio fuse!\n");
-	};
+	}
 }

 bool resource_construct(