Skip to contentSkip to conversation

drm/exynos: decon: remove unused variables

PATCH In review Inki Dae 2 participants 2 messages Dec 7, 2015

Subsystems (3)
lore
Share & tools
lore

Inki Dae

author maintainer
#0 lore raw

PATCH 1/1 drm/exynos: decon: remove unused variables

This patch just removes unused variables, i and ret.

---
 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/exynos/exynos5433_drm_decon.c +0 -2
index edfd6e3..2ac1d4d 100644
@@ -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;
Signature · 1 line
1.9.1
Reviewed-by on v1 1/1
#1 lore raw

Hello Inki,

Quoted 13 lines · Inki Dae

This patch just removes unused variables, i and ret.

---
 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/exynos/exynos5433_drm_decon.c +0 -0
index edfd6e3..2ac1d4d 100644

drivers/gpu/drm/exynos/exynos5433_drm_decon.c static void decon_swreset(struct decon_context *ctx) · line 382

Quoted 8 lines
drivers/gpu/drm/exynos/exynos5433_drm_decon.c +0 -2
@@ -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;

Best regards,

Signature · 7 lines
Javier Martinez Canillas
Open Source Group
Samsung Research America
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel