summaryrefslogtreecommitdiff
path: root/include/ec_commands.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-09-25 17:56:23 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 08:57:44 +0300
commitfd42948fc9868207573992eaabf4f3e8144a3d1e (patch)
tree2f42f4d42fd97ae47923fe3f613e215dfb8cb7fa /include/ec_commands.h
parent0b7ebee38e5d9167360bc756fcfb72af8badc74f (diff)
downloadu-boot-fd42948fc9868207573992eaabf4f3e8144a3d1e.tar.xz
log: Add log_nop() to avoid unused-variable warnings
If a log statement includes a variable and logging is disabled, this can generate warnings about unused variables. Add a bit more complexity to the macros to avoid this for the common case. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/ec_commands.h')
0 files changed, 0 insertions, 0 deletions