diff options
author | Heiko Schocher <hs@denx.de> | 2018-01-17 09:00:37 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-28 17:39:05 +0300 |
commit | 020da843fc97d0945ad39b3f08a925cfc016fef3 (patch) | |
tree | 69166e25f803185befce8ed5c04cb4e7650a5471 /arch | |
parent | 60013a2cf61a318c87f1a8c0b3a39b47c3f220a6 (diff) | |
download | u-boot-020da843fc97d0945ad39b3f08a925cfc016fef3.tar.xz |
arm: bootm-fdt.c: fix compiler warning
compiling U-Boot with bosch_mpcxxxxd_sd_defconfig
drops warning:
arch/arm/lib/bootm-fdt.c: In function ‘arch_fixup_fdt’:
arch/arm/lib/bootm-fdt.c:37:6: warning: unused variable ‘ret’ [-Wunused-variable]
int ret = 0;
^~~
Fix it.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib/bootm-fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/bootm-fdt.c b/arch/arm/lib/bootm-fdt.c index fcc2a0e214..83409a7ece 100644 --- a/arch/arm/lib/bootm-fdt.c +++ b/arch/arm/lib/bootm-fdt.c @@ -34,7 +34,7 @@ __weak int fdt_update_ethernet_dt(void *blob) int arch_fixup_fdt(void *blob) { - int ret = 0; + __maybe_unused int ret = 0; #if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_OF_LIBFDT) bd_t *bd = gd->bd; int bank; |