summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-12-14 21:45:25 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-12-14 21:45:25 +0000
commit8e6030c8223bfb3102048b2daccbf6a6f4e97ba2 (patch)
tree92f6769d3fbb5936e32d5fb82480b776ea6fbfb9 /apps/tagcache.c
parent273fbadb5537743829f9830de5247626a11aedca (diff)
downloadrockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.zip
rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.tar.gz
rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.tar.bz2
rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.tar.xz
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
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 058ab85..99ef3f5 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__ */