aboutsummaryrefslogtreecommitdiff
path: root/src/soc/samsung
diff options
context:
space:
mode:
authorIsaac Christensen <isaac.christensen@se-eng.com>2014-09-17 16:14:18 -0600
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-09-19 21:37:56 +0200
commit0c0efa7e50fdd75c6154af67d2ddbebe317c7b55 (patch)
treea88f65a8aeb736c3db3648a16de66b9701a25124 /src/soc/samsung
parente23f3b8ca21dc95fb92e5b86fd10af8c4990caf2 (diff)
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 <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6926 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/soc/samsung')
-rw-r--r--src/soc/samsung/exynos5250/cpu.c3
1 files changed, 1 insertions, 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)