log: remove unused function 18/174818/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 4 Apr 2018 09:23:41 +0000 (18:23 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 4 Apr 2018 09:23:41 +0000 (18:23 +0900)
Change-Id: Iae807e3e89dd37f4fedd1c7ca891dcd16d44a82e

src/tbm_log.c
src/tbm_log.h

index 1389964..cba144e 100644 (file)
@@ -75,15 +75,6 @@ tbm_log_enable_dlog(unsigned int enable)
 }
 
 void
-tbm_log_enable_debug(unsigned int enable)
-{
-       if (enable)
-               tbm_log_debug_level = TBM_LOG_LEVEL_DBG;
-       else
-               tbm_log_debug_level = TBM_LOG_LEVEL_INFO;
-}
-
-void
 tbm_log_set_debug_level(int level)
 {
        tbm_log_debug_level = level;
@@ -223,9 +214,3 @@ tbm_log_print(int level, const char *fmt, ...)
        assert(level > assert_level);
 }
 
-void
-tbm_log_reset(void)
-{
-       pthread_mutex_trylock(&log_lock);
-       pthread_mutex_unlock(&log_lock);
-}
index 2302e25..c806e02 100644 (file)
@@ -56,12 +56,10 @@ enum {
 
 void tbm_log_enable_color(unsigned int enable);
 void tbm_log_enable_dlog(unsigned int enable);
-void tbm_log_enable_debug(unsigned int enable);
 void tbm_log_set_debug_level(int level);
 void tbm_log_set_assert_level(int level);
 void tbm_log_set_path(const char *path);
 void tbm_log_print(int level, const char *fmt, ...);
-void tbm_log_reset(void);
 
 #define TBM_DBG(fmt, args...) \
        do { \