include: logging: clean up of sys_log.h

Remove unused macro IS_SYS_LOG_ACTIVE.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This commit is contained in:
Ramakrishna Pallala 2018-02-09 11:48:02 +05:30 committed by Anas Nashif
commit cf2fb622e3

View file

@ -37,8 +37,6 @@ extern "C" {
*/ */
#if defined(CONFIG_SYS_LOG) && (SYS_LOG_LEVEL > SYS_LOG_LEVEL_OFF) #if defined(CONFIG_SYS_LOG) && (SYS_LOG_LEVEL > SYS_LOG_LEVEL_OFF)
#define IS_SYS_LOG_ACTIVE 1
extern void (*syslog_hook)(const char *fmt, ...); extern void (*syslog_hook)(const char *fmt, ...);
void syslog_hook_install(void (*hook)(const char *, ...)); void syslog_hook_install(void (*hook)(const char *, ...));
@ -123,15 +121,6 @@ void syslog_hook_install(void (*hook)(const char *, ...));
#endif #endif
#else #else
/**
* @def IS_SYS_LOG_ACTIVE
*
* @brief Specifies whether SYS_LOG is in use or not.
*
* @details This macro expands to 1 if SYS_LOG was activated for current .c
* file, 0 otherwise.
*/
#define IS_SYS_LOG_ACTIVE 0
/** /**
* @def SYS_LOG_ERR * @def SYS_LOG_ERR
* *