[coreboot-gerrit] Patch set updated for coreboot: 7d3b1cd exynos5250: remove unused ret variable in cpu.c

Isaac Christensen (isaac.christensen@se-eng.com) gerrit at coreboot.org
Thu Sep 18 00:22:33 CEST 2014


Isaac Christensen (isaac.christensen at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6926

-gerrit

commit 7d3b1cd47994095ecaa9e2c20d82380f0d7c7e98
Author: Isaac Christensen <isaac.christensen at se-eng.com>
Date:   Wed Sep 17 16:14:18 2014 -0600

    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 at se-eng.com>
---
 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 3a2b62d..b8b88d7 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)



More information about the coreboot-gerrit mailing list