[U-Boot] [PATCH] video: exynos: remove unused variable of exynos_mipi_dsi_wr_data()

This patch removes unused variable of exynos_mipi_dsi_wr_data()
Signed-off-by: Donghwa Lee dh09.lee@samsung.com --- drivers/video/exynos_mipi_dsi_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/exynos_mipi_dsi_common.c b/drivers/video/exynos_mipi_dsi_common.c index ceb6084..1fc6102 100644 --- a/drivers/video/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos_mipi_dsi_common.c @@ -194,7 +194,7 @@ int exynos_mipi_dsi_wr_data(struct mipi_dsim_device *dsim, unsigned int data_id, case MIPI_DSI_GENERIC_LONG_WRITE: case MIPI_DSI_DCS_LONG_WRITE: { - unsigned int data_cnt = 0, payload = 0; + unsigned int payload = 0;
/* if data count is less then 4, then send 3bytes data. */ if (data1 < 4) {
participants (1)
-
Donghwa Lee