From 0c0efa7e50fdd75c6154af67d2ddbebe317c7b55 Mon Sep 17 00:00:00 2001 From: Isaac Christensen Date: Wed, 17 Sep 2014 16:14:18 -0600 Subject: [PATCH] exynos5250: remove unused ret variable in cpu.c Showed up as an error when '--gc-sections' was added as a flag to the compiler. Change-Id: I214d3e16a72fca0becc677d7af66097464d64247 Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6926 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/samsung/exynos5250/cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/samsung/exynos5250/cpu.c b/src/soc/samsung/exynos5250/cpu.c index 3a2b62d3ce..b8b88d74a2 100644 --- a/src/soc/samsung/exynos5250/cpu.c +++ b/src/soc/samsung/exynos5250/cpu.c @@ -62,7 +62,6 @@ static void set_cpu_id(void) static void exynos_displayport_init(device_t dev, u32 lcdbase, unsigned long fb_size) { - int ret; struct soc_samsung_exynos5250_config *conf = dev->chip_info; /* put these on the stack. If, at some point, we want to move * this code to a pre-ram stage, it will be much easier. @@ -108,7 +107,7 @@ static void exynos_displayport_init(device_t dev, u32 lcdbase, printk(BIOS_DEBUG, "Initializing Exynos LCD.\n"); - ret = lcd_ctrl_init(fb_size, &panel, (void *)lcdbase); + lcd_ctrl_init(fb_size, &panel, (void *)lcdbase); } static void cpu_enable(device_t dev)