Commit 02a58b934036dfaa74afb61d383771eda444642b

Authored by Ajay Kumar
Committed by Minkyu Kang
1 parent d04df3c6ad

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

drivers/video/exynos_dp.c
... ... @@ -857,7 +857,6 @@
857 857 {
858 858 unsigned int ret;
859 859 struct edp_device_info *edp_info;
860   - struct edp_disp_info disp_info;
861 860  
862 861 edp_info = kzalloc(sizeof(struct edp_device_info), GFP_KERNEL);
863 862 if (!edp_info) {
... ... @@ -870,7 +869,6 @@
870 869 debug("failed to get edp_info data.\n");
871 870 return -EFAULT;
872 871 }
873   - disp_info = edp_info->disp_info;
874 872  
875 873 exynos_dp_disp_info(&edp_info->disp_info);
876 874