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

login
register
mail settings
Submitter Donghwa Lee
Date May 8, 2013, 4:22 a.m.
Message ID <5189D321.4070704@samsung.com>
Download mbox | patch
Permalink /patch/242501/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Donghwa Lee - May 8, 2013, 4:22 a.m.
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(-)

          if (data1 < 4) {

Patch

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.  */