From 3f7ad7b216b4021c7cb93201a94b0fae46f5e19e Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 18 Feb 2014 19:36:05 -0600 Subject: coreboot: don't return struct lb_memory * from write_tables() No one is interrogating the write_tables() return value. Therefore, drop it. Change-Id: I97e707f071942239c9a0fa0914af3679ee7a9c3c Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/5301 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko --- src/arch/x86/boot/tables.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/arch/x86') diff --git a/src/arch/x86/boot/tables.c b/src/arch/x86/boot/tables.c index e980ed816c..42e431e06e 100644 --- a/src/arch/x86/boot/tables.c +++ b/src/arch/x86/boot/tables.c @@ -38,7 +38,7 @@ void cbmem_arch_init(void) move_gdt(); } -struct lb_memory *write_tables(void) +void write_tables(void) { unsigned long low_table_start, low_table_end; unsigned long rom_table_start, rom_table_end; @@ -244,6 +244,4 @@ struct lb_memory *write_tables(void) /* Print CBMEM sections */ cbmem_list(); - - return get_lb_mem(); } -- cgit v1.2.3