mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
cmd/bdinfo.c: Fix unused function warning
On most architectures we do not call print_std_bdinfo() so mark it with __maybe_unused. Reported by clang-3.8. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f552d69246
commit
b37483c42e
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ static inline void print_baudrate(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void print_std_bdinfo(const bd_t *bd)
|
static inline void __maybe_unused print_std_bdinfo(const bd_t *bd)
|
||||||
{
|
{
|
||||||
print_bi_boot_params(bd);
|
print_bi_boot_params(bd);
|
||||||
print_bi_mem(bd);
|
print_bi_mem(bd);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue