mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
d04df3c6ad
commit
02a58b9340
1 changed files with 0 additions and 2 deletions
|
@ -857,7 +857,6 @@ unsigned int exynos_init_dp(void)
|
||||||
{
|
{
|
||||||
unsigned int ret;
|
unsigned int ret;
|
||||||
struct edp_device_info *edp_info;
|
struct edp_device_info *edp_info;
|
||||||
struct edp_disp_info disp_info;
|
|
||||||
|
|
||||||
edp_info = kzalloc(sizeof(struct edp_device_info), GFP_KERNEL);
|
edp_info = kzalloc(sizeof(struct edp_device_info), GFP_KERNEL);
|
||||||
if (!edp_info) {
|
if (!edp_info) {
|
||||||
|
@ -870,7 +869,6 @@ unsigned int exynos_init_dp(void)
|
||||||
debug("failed to get edp_info data.\n");
|
debug("failed to get edp_info data.\n");
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
}
|
}
|
||||||
disp_info = edp_info->disp_info;
|
|
||||||
|
|
||||||
exynos_dp_disp_info(&edp_info->disp_info);
|
exynos_dp_disp_info(&edp_info->disp_info);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue