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 <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/5301 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
This commit is contained in:
parent
b013c279a9
commit
3f7ad7b216
|
@ -46,7 +46,7 @@ void cbmem_fail_resume(void)
|
|||
{
|
||||
}
|
||||
|
||||
struct lb_memory *write_tables(void)
|
||||
void write_tables(void)
|
||||
{
|
||||
unsigned long table_pointer, new_table_pointer;
|
||||
|
||||
|
@ -56,7 +56,7 @@ struct lb_memory *write_tables(void)
|
|||
MAX_COREBOOT_TABLE_SIZE);
|
||||
if (!table_pointer) {
|
||||
printk(BIOS_ERR, "Could not add CBMEM for coreboot table.\n");
|
||||
return NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
new_table_pointer = write_coreboot_table(0UL, 0UL,
|
||||
|
@ -74,6 +74,4 @@ struct lb_memory *write_tables(void)
|
|||
|
||||
/* Print CBMEM sections */
|
||||
cbmem_list();
|
||||
|
||||
return get_lb_mem();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
|
||||
#include <boot/coreboot_tables.h>
|
||||
|
||||
struct lb_memory *write_tables(void);
|
||||
void write_tables(void);
|
||||
|
||||
#endif /* BOOT_TABLES_H */
|
||||
|
|
Loading…
Reference in New Issue