video: exynos_mipi_dsim: Remove unused variable
authorOlof Johansson <olof@lixom.net>
Thu, 14 Nov 2013 21:09:24 +0000 (13:09 -0800)
committerOlof Johansson <olof@lixom.net>
Fri, 15 Nov 2013 02:00:19 +0000 (18:00 -0800)
commit 7e0be9f9f7cba3356f75b86737dbe3a005da067e ('video: exynos_mipi_dsim:
Use the generic PHY driver') resulted in a warning about an unused
variable:

drivers/video/exynos/exynos_mipi_dsi.c:144:26: warning: unused variable
    'pdev' [-Wunused-variable]

It is indeed unused; remove it.

Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
drivers/video/exynos/exynos_mipi_dsi.c

index 00b3a52c1d68766d42cab3c65a1a9405d4a04617..cee9602f9a7b4ed0ca8071e1723137da7bf12d7e 100644 (file)
@@ -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;