From: SooChan Lim Date: Wed, 4 Apr 2018 09:23:41 +0000 (+0900) Subject: log: remove unused function X-Git-Tag: accepted/tizen/unified/20180405.064305~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F18%2F174818%2F1;p=platform%2Fcore%2Fuifw%2Flibtbm.git log: remove unused function Change-Id: Iae807e3e89dd37f4fedd1c7ca891dcd16d44a82e --- diff --git a/src/tbm_log.c b/src/tbm_log.c index 1389964..cba144e 100644 --- a/src/tbm_log.c +++ b/src/tbm_log.c @@ -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); -} diff --git a/src/tbm_log.h b/src/tbm_log.h index 2302e25..c806e02 100644 --- a/src/tbm_log.h +++ b/src/tbm_log.h @@ -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 { \