# Re: \[PATCH v2 1/2\] video: exynos\_mipi\_dsi: Remove unused code

- From: Florian Tobias Schandinat \<FlorianSchandinat@gmx.de\>
- Date: 2012-09-23 19:54:17 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2012/09/13463988
- Thread: https://ratatoskr.run/linux-fbdev/2012/09/13463986/t.md

```text
Applied both patches of this series.


Thanks,

Florian Tobias Schandinat


On 09/21/2012 05:06 AM, Sachin Kamat wrote:
> This code is never executed and hence removed.
> 
> Signed-off-by: Sachin Kamat <redacted>
> Acked-by: Inki Dae <inki.dae@samsung.com>
> 
> ---
>  drivers/video/exynos/exynos_mipi_dsi_common.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c
> index 47b533a..7cc4113 100644
> --- a/drivers/video/exynos/exynos_mipi_dsi_common.c
> +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c
> @@ -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,

```
