aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Kumar <ajaykumar.rs@samsung.com>2013-01-13 23:32:15 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-01-14 19:17:28 +0900
commit02a58b934036dfaa74afb61d383771eda444642b (patch)
treecbc0260f733b2d1459210eee221cd1995c5d1f2f
parentd04df3c6adf7b025d4f68d4f558975d3beb32544 (diff)
downloadu-boot-linaro-stable-02a58b934036dfaa74afb61d383771eda444642b.tar.gz
video: exynos_dp: Remove unused variable disp_info
Remove unused variable disp_info to fix the following compilation warning: exynos_dp.c: In function 'exynos_init_dp': exynos_dp.c:860:23: warning: variable 'disp_info' set but not used [-Wunused-but-set-variable] Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--drivers/video/exynos_dp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/exynos_dp.c b/drivers/video/exynos_dp.c
index 53e410120..d72fa565a 100644
--- a/drivers/video/exynos_dp.c
+++ b/drivers/video/exynos_dp.c
@@ -857,7 +857,6 @@ unsigned int exynos_init_dp(void)
{
unsigned int ret;
struct edp_device_info *edp_info;
- struct edp_disp_info disp_info;
edp_info = kzalloc(sizeof(struct edp_device_info), GFP_KERNEL);
if (!edp_info) {
@@ -870,7 +869,6 @@ unsigned int exynos_init_dp(void)
debug("failed to get edp_info data.\n");
return -EFAULT;
}
- disp_info = edp_info->disp_info;
exynos_dp_disp_info(&edp_info->disp_info);