Skip to content

Commit

Permalink
NimBLE: Remove unused stuff from log.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrishi authored and ESPAbhinav committed Feb 14, 2024
1 parent e769fcc commit ca983d2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions porting/nimble/include/log/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,6 @@
extern "C" {
#endif

static inline void
log_dummy(void *log, ...)
{
(void)log;
}

#ifdef MYNEWT
#define LOG_DEBUG(_log, _mod, ...) log_dummy(_log, ## __VA_ARGS__)
#define LOG_INFO(_log, _mod, ...) log_dummy(_log, ## __VA_ARGS__)
#define LOG_WARN(_log, _mod, ...) log_dummy(_log, ## __VA_ARGS__)
#define LOG_ERROR(_log, _mod, ...) log_dummy(_log, ## __VA_ARGS__)
#define LOG_CRITICAL(_log, _mod, ...) log_dummy(_log, ## __VA_ARGS__)
#endif

struct log {
};

Expand Down

0 comments on commit ca983d2

Please sign in to comment.