Commit 2733f515 authored by Emanuele Di Santo's avatar Emanuele Di Santo Committed by Andrzej Puzdrowski
Browse files

boot: bootutil: remove unused BOOT_LOG_LEVEL macros

Remove unnused BOOT_LOG_LEVEL macros.
These are not honored, nor usable since they are supposed to be
defined before including the header in which they are defined.

Signed-off-by: default avatarEmanuele Di Santo <emdi@nordicsemi.no>
parent 20ba65e1
Loading
Loading
Loading
Loading
−10
Changes for boot/bootutil/include/bootutil/bootutil_log.h: 0 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -28,16 +28,6 @@ extern "C" {

#ifdef MCUBOOT_HAVE_LOGGING

#ifdef BOOT_LOG_LEVEL
#define MCUBOOT_LOG_LEVEL BOOT_LOG_LEVEL
#endif

#define BOOT_LOG_LEVEL_OFF     MCUBOOT_LOG_LEVEL_OFF
#define BOOT_LOG_LEVEL_ERROR   MCUBOOT_LOG_LEVEL_ERROR
#define BOOT_LOG_LEVEL_WARNING MCUBOOT_LOG_LEVEL_WARNING
#define BOOT_LOG_LEVEL_INFO    MCUBOOT_LOG_LEVEL_INFO
#define BOOT_LOG_LEVEL_DEBUG   MCUBOOT_LOG_LEVEL_DEBUG

#define BOOT_LOG_ERR(...) MCUBOOT_LOG_ERR(__VA_ARGS__)
#define BOOT_LOG_WRN(...) MCUBOOT_LOG_WRN(__VA_ARGS__)
#define BOOT_LOG_INF(...) MCUBOOT_LOG_INF(__VA_ARGS__)