diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 14:16:42 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-25 13:24:11 -0400 |
commit | 7d81641ba9984db472798b1c9b059e019c8b1bc0 (patch) | |
tree | debeacda8380046976c0e52ad7e24fb11781045e /cmd/bdinfo.c | |
parent | e01ce34bb0cb33aad17f5df15d74cd8846f80c23 (diff) | |
download | u-boot-7d81641ba9984db472798b1c9b059e019c8b1bc0.tar.gz u-boot-7d81641ba9984db472798b1c9b059e019c8b1bc0.tar.bz2 u-boot-7d81641ba9984db472798b1c9b059e019c8b1bc0.zip |
bdinfo: Drop unused __maybe_unused
Some of these are not needed now. Drop them to avoid cluttering the code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'cmd/bdinfo.c')
-rw-r--r-- | cmd/bdinfo.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index df24994929..96888c5fed 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -17,12 +17,11 @@ DECLARE_GLOBAL_DATA_PTR; -__maybe_unused void print_cpu_word_size(void) +void print_cpu_word_size(void) { printf("%-12s= %u-bit\n", "Build", (uint)sizeof(void *) * 8); } -__maybe_unused static void print_num(const char *name, ulong value) { printf("%-12s= 0x%0*lx\n", name, 2 * (int)sizeof(value), value); @@ -63,13 +62,11 @@ static void print_eths(void) } #endif -__maybe_unused static void print_lnum(const char *name, unsigned long long value) { printf("%-12s= 0x%.8llX\n", name, value); } -__maybe_unused static void print_mhz(const char *name, unsigned long hz) { char buf[32]; @@ -162,7 +159,7 @@ static inline void print_baudrate(void) #endif } -static inline void __maybe_unused print_std_bdinfo(const bd_t *bd) +static inline void print_std_bdinfo(const bd_t *bd) { print_bi_boot_params(bd); print_bi_mem(bd); |