drivers/SFDP: mbed-trace header is now always available

This reverts commit 183ca7729c.

Now the "mbed_trace.h" header is always available and maps
trace functions to dummy macros when tracing is disabled.
pull/13649/head
Lingkai Dong 2020-09-21 12:25:17 +01:00
parent 8acb2c345b
commit 7a8460a759
1 changed files with 0 additions and 6 deletions

View File

@ -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 {