From d6e35bfa01f40453921fd08f864f78925deb9760 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Mon, 31 Aug 2015 17:08:19 +0900 Subject: [PATCH] Revert "LOCAL / drm/exynos: fimd: Remove unused 'ret' variable" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit aacf1c3ffc5a1a1ba1d51e258b4af722d68c6407 to fix build error (tizen_trats2_defconfig): ../drivers/gpu/drm/exynos/exynos_drm_fimd.c: In function ‘fimd_bind’: ../drivers/gpu/drm/exynos/exynos_drm_fimd.c:1037:3: error: ‘ret’ undeclared (first use in this function) ../drivers/gpu/drm/exynos/exynos_drm_fimd.c:1037:3: note: each undeclared identifier is reported only once for each function it appears in make[5]: *** [drivers/gpu/drm/exynos/exynos_drm_fimd.o] Error 1 --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index b7ff2b2..79b3486 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -1027,6 +1027,7 @@ static int fimd_bind(struct device *dev, struct device *master, void *data) struct exynos_drm_plane *exynos_plane; enum drm_plane_type type; unsigned int zpos; + int ret; ctx->drm_dev = drm_dev; ctx->pipe = priv->pipe++; -- 2.7.4