Patchwork drm/exynos: vidi: remove unused varables

login
register
mail settings
Submitter Inki Dae
Date June 3, 2015, 2:29 a.m.
Message ID <1433298553-930-1-git-send-email-inki.dae@samsung.com>
Download mbox | patch
Permalink /patch/6531911/
State New
Headers show

Comments

Inki Dae - June 3, 2015, 2:29 a.m.
This patch removes unnsed varables in vidi_disable function.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
---
 drivers/gpu/drm/exynos/exynos_drm_vidi.c |    2 --
 1 file changed, 2 deletions(-)
Gustavo F. Padovan - June 3, 2015, 1:21 p.m.
Hi Inki,

2015-06-03 Inki Dae <inki.dae@samsung.com>:

> This patch removes unnsed varables in vidi_disable function.
> 
> Signed-off-by: Inki Dae <inki.dae@samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos_drm_vidi.c |    2 --
>  1 file changed, 2 deletions(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

	Gustavo

Patch

diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c
index abe4ee0..16dc68c 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c
@@ -179,8 +179,6 @@  static void vidi_enable(struct exynos_drm_crtc *crtc)
 static void vidi_disable(struct exynos_drm_crtc *crtc)
 {
 	struct vidi_context *ctx = crtc->ctx;
-	struct exynos_drm_plane *plane;
-	int i;
 
 	mutex_lock(&ctx->lock);