From 7a8460a759691971759350040ee1df5e27c22b8f Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Mon, 21 Sep 2020 12:25:17 +0100 Subject: [PATCH] drivers/SFDP: mbed-trace header is now always available This reverts commit 183ca7729c37d4fd429814938cfee69e3f180b6d. Now the "mbed_trace.h" header is always available and maps trace functions to dummy macros when tracing is disabled. --- drivers/source/SFDP.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/source/SFDP.cpp b/drivers/source/SFDP.cpp index 203acd6df1..15ed5515d4 100644 --- a/drivers/source/SFDP.cpp +++ b/drivers/source/SFDP.cpp @@ -26,14 +26,8 @@ #if (DEVICE_SPI || DEVICE_QSPI) -#if MBED_CONF_MBED_TRACE_ENABLE #include "mbed-trace/mbed_trace.h" #define TRACE_GROUP "SFDP" -#else // MBED_CONF_MBED_TRACE_ENABLE -#define tr_info(...) -#define tr_error(...) -#define tr_debug(...) -#endif // MBED_CONF_MBED_TRACE_ENABLE namespace {