Linux Samsung SOC development
 help / color / mirror / Atom feed
* [PATCH] drm/exynos: decon: remove unused variables
@ 2015-12-07 12:55 Inki Dae
  2015-12-07 13:34 ` Javier Martinez Canillas
  0 siblings, 1 reply; 2+ messages in thread
From: Inki Dae @ 2015-12-07 12:55 UTC (permalink / raw)
  To: dri-devel; +Cc: airlied, linux-samsung-soc, Inki Dae

This patch just removes unused variables, i and ret.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
---
 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
index edfd6e3..2ac1d4d 100644
--- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
+++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
@@ -377,8 +377,6 @@ static void decon_swreset(struct decon_context *ctx)
 static void decon_enable(struct exynos_drm_crtc *crtc)
 {
 	struct decon_context *ctx = crtc->ctx;
-	int ret;
-	int i;
 
 	if (!test_and_clear_bit(BIT_SUSPENDED, &ctx->flags))
 		return;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/exynos: decon: remove unused variables
  2015-12-07 12:55 [PATCH] drm/exynos: decon: remove unused variables Inki Dae
@ 2015-12-07 13:34 ` Javier Martinez Canillas
  0 siblings, 0 replies; 2+ messages in thread
From: Javier Martinez Canillas @ 2015-12-07 13:34 UTC (permalink / raw)
  To: Inki Dae, dri-devel; +Cc: linux-samsung-soc

Hello Inki,

On 12/07/2015 09:55 AM, Inki Dae wrote:
> This patch just removes unused variables, i and ret.
> 
> Signed-off-by: Inki Dae <inki.dae@samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
> index edfd6e3..2ac1d4d 100644
> --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
> +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
> @@ -377,8 +377,6 @@ static void decon_swreset(struct decon_context *ctx)
>  static void decon_enable(struct exynos_drm_crtc *crtc)
>  {
>  	struct decon_context *ctx = crtc->ctx;
> -	int ret;
> -	int i;
>  
>  	if (!test_and_clear_bit(BIT_SUSPENDED, &ctx->flags))
>  		return;
> 

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-07 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 12:55 [PATCH] drm/exynos: decon: remove unused variables Inki Dae
2015-12-07 13:34 ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox