mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
common/fdt_support.c: Fix compile warnings
Commit a6bd9e8
"FDT: Add fixup support for multiple banks of memory"
removed code but forgot to remove the variables used by it, resulting
in warnings:
fdt_support.c: In function 'fdt_fixup_memory_banks':
fdt_support.c:399: warning: unused variable 'sizecell'
fdt_support.c:399: warning: unused variable 'addrcell'
Remove the declarations, too.
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
3ed16071b0
commit
70994c79ca
1 changed files with 0 additions and 1 deletions
|
@ -396,7 +396,6 @@ int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], int banks)
|
||||||
int addr_cell_len, size_cell_len, len;
|
int addr_cell_len, size_cell_len, len;
|
||||||
u8 tmp[banks * 8];
|
u8 tmp[banks * 8];
|
||||||
int bank;
|
int bank;
|
||||||
const u32 *addrcell, *sizecell;
|
|
||||||
|
|
||||||
err = fdt_check_header(blob);
|
err = fdt_check_header(blob);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue