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 1389964085f1b3549ccc7591a9024b5560038e7d..cba144e5cdefb7a62e2980fd160ce5389658aacc 100644 (file)
@@ -74,15 +74,6 @@ tbm_log_enable_dlog(unsigned int enable)
        dlog_enable = 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)
 {
@@ -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 2302e25012111c2625fb6af2be1f62c08005a879..c806e029b87d23b42e722eec56ed04ce4ebabdea 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 { \