summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5420
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2013-09-26 11:13:01 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2013-09-28 22:25:14 +0200
commit681d17e0bf00a889f3c931d69b9af205c4ab674d (patch)
tree6ed58de235f3330643e8de0cc032e4b1302cce75 /src/cpu/samsung/exynos5420
parent616e6fb2521e639eebb95c572f38db1a8bc26894 (diff)
exynos5420: Fix build warning
Fix "set but not used" variable warning with gcc 4.7.3 Change-Id: Ia27291ecb4f993c4ba6f29b134167dc23a449bf5 Signed-off-by: Allen Martin <amartin@nvidia.com> Reviewed-on: http://review.coreboot.org/3949 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'src/cpu/samsung/exynos5420')
-rw-r--r--src/cpu/samsung/exynos5420/cpu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/samsung/exynos5420/cpu.c b/src/cpu/samsung/exynos5420/cpu.c
index d204556239..744f7ae0c7 100644
--- a/src/cpu/samsung/exynos5420/cpu.c
+++ b/src/cpu/samsung/exynos5420/cpu.c
@@ -64,7 +64,6 @@ static void set_cpu_id(void)
*/
static void exynos_displayport_init(device_t dev)
{
- int ret;
struct cpu_samsung_exynos5420_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.
@@ -117,7 +116,7 @@ static void exynos_displayport_init(device_t dev)
mmio_resource(dev, 1, lcdbase/KiB, (fb_size + KiB - 1)/KiB);
printk(BIOS_DEBUG,
"Initializing Exynos VGA, base %p\n", (void *)lcdbase);
- ret = lcd_ctrl_init(fb_size, &panel, (void *)lcdbase);
+ lcd_ctrl_init(fb_size, &panel, (void *)lcdbase);
}
static void cpu_enable(device_t dev)