From 8e6030c8223bfb3102048b2daccbf6a6f4e97ba2 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Wed, 14 Dec 2011 21:45:25 +0000 Subject: FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'apps/tagcache.c') diff --git a/apps/tagcache.c b/apps/tagcache.c index 058ab85f16..99ef3f5587 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -1309,11 +1309,6 @@ static bool check_all_headers(void) return true; } -bool tagcache_is_busy(void) -{ - return read_lock || write_lock; -} - bool tagcache_search(struct tagcache_search *tcs, int tag) { struct tagcache_header tag_hdr; @@ -3303,16 +3298,6 @@ void tagcache_update_numeric(int idx_id, int tag, long data) } #endif /* !__PCTOOL__ */ -long tagcache_get_serial(void) -{ - return current_tcmh.serial; -} - -long tagcache_get_commitid(void) -{ - return current_tcmh.commitid; -} - static bool write_tag(int fd, const char *tagstr, const char *datastr) { char buf[512]; @@ -4794,13 +4779,6 @@ void tagcache_stop_scan(void) queue_post(&tagcache_queue, Q_STOP_SCAN, 0); } -#ifdef HAVE_TC_RAMCACHE -bool tagcache_is_ramcache(void) -{ - return tc_stat.ramcache; -} -#endif - #endif /* !__PCTOOL__ */ -- cgit v1.2.3