]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: exynos_dp: Remove unused variable disp_info
authorAjay Kumar <ajaykumar.rs@samsung.com>
Sun, 13 Jan 2013 23:32:15 +0000 (23:32 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 14 Jan 2013 10:17:28 +0000 (19:17 +0900)
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>
drivers/video/exynos_dp.c

index 53e410120ac77cf3fb08d311d78f9ba1f3f58dc3..d72fa565a7d0d479d5d3dc176506e1f3c999e10e 100644 (file)
@@ -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);