video: exynos_mipi_dsi: Remove unused code
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 21 Sep 2012 05:06:46 +0000 (10:36 +0530)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 22 Sep 2012 21:44:37 +0000 (21:44 +0000)
This code is never executed and hence removed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/exynos/exynos_mipi_dsi_common.c

index 47b533a183be2979ede8a29bb9db0d89b0e309bb..7cc4113242d945c80cec77fe8087cd26c366cf1e 100644 (file)
@@ -288,9 +288,6 @@ int exynos_mipi_dsi_wr_data(struct mipi_dsim_device *dsim, unsigned int data_id,
                mutex_unlock(&dsim->lock);
                return -EINVAL;
        }
-
-       mutex_unlock(&dsim->lock);
-       return 0;
 }
 
 static unsigned int exynos_mipi_dsi_long_data_rd(struct mipi_dsim_device *dsim,