diff options
author | Tom Rini <trini@konsulko.com> | 2022-08-22 12:41:07 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-22 12:41:07 -0400 |
commit | 850ac7ceb75d2f86f0feae48ee77ee663dcd29d5 (patch) | |
tree | 5d70681ddd31ad0cb69ad7900a9956aaae8aba51 /include/log.h | |
parent | 61e887fb9cbb6e1d64c2383a865f79ed3570bcf8 (diff) | |
parent | cd15b640b0b8d5a7ba5f1c0587e4f9c767e2d8fb (diff) |
Merge tag 'dm-pull-20aug22' of https://source.denx.de/u-boot/custodians/u-boot-dm
binman fixes for various things
binman clean-up of compression and addition of utilities
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/log.h b/include/log.h index 7abc70e439..df497bad18 100644 --- a/include/log.h +++ b/include/log.h @@ -130,18 +130,6 @@ int _log(enum log_category_t cat, enum log_level_t level, const char *file, int line, const char *func, const char *fmt, ...) __attribute__ ((format (__printf__, 6, 7))); -static inline int _log_nop(enum log_category_t cat, enum log_level_t level, - const char *file, int line, const char *func, - const char *fmt, ...) - __attribute__ ((format (__printf__, 6, 7))); - -static inline int _log_nop(enum log_category_t cat, enum log_level_t level, - const char *file, int line, const char *func, - const char *fmt, ...) -{ - return 0; -} - /** * _log_buffer - Internal function to print data buffer in hex and ascii form * @@ -240,12 +228,6 @@ int _log_buffer(enum log_category_t cat, enum log_level_t level, }) #endif -#define log_nop(_cat, _level, _fmt, _args...) ({ \ - int _l = _level; \ - _log_nop((enum log_category_t)(_cat), _l, __FILE__, __LINE__, \ - __func__, pr_fmt(_fmt), ##_args); \ -}) - #ifdef DEBUG #define _DEBUG 1 #else |