From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755807Ab3JXP3D (ORCPT ); Thu, 24 Oct 2013 11:29:03 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:35067 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755151Ab3JXP3A (ORCPT ); Thu, 24 Oct 2013 11:29:00 -0400 From: Kishon Vijay Abraham I To: CC: , , , , , , , , , , Kishon Vijay Abraham I , Sylwester Nawrocki Subject: [PATCH] drivers: video: exynos: Fix compiler Warning Date: Thu, 24 Oct 2013 20:57:34 +0530 Message-ID: <1382628454-11951-1-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed the following compilation warning: ../../drivers/video/exynos/exynos_mipi_dsi.c: In function 'exynos_mipi_dsi_blank_mode': ../../drivers/video/exynos/exynos_mipi_dsi.c:144:26: warning: unused variable 'pdev' [-Wunused-variable] struct platform_device *pdev = to_platform_device(dsim->dev); Reported-by: Olof Johansson Cc: Sylwester Nawrocki Signed-off-by: Kishon Vijay Abraham I --- drivers/video/exynos/exynos_mipi_dsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index 00b3a52..cee9602 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c @@ -141,7 +141,6 @@ static int exynos_mipi_dsi_early_blank_mode(struct mipi_dsim_device *dsim, static int exynos_mipi_dsi_blank_mode(struct mipi_dsim_device *dsim, int power) { - struct platform_device *pdev = to_platform_device(dsim->dev); struct mipi_dsim_lcd_driver *client_drv = dsim->dsim_lcd_drv; struct mipi_dsim_lcd_device *client_dev = dsim->dsim_lcd_dev; -- 1.7.10.4