diff options
author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-14 21:45:25 +0000 |
---|---|---|
committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-14 21:45:25 +0000 |
commit | 8e6030c8223bfb3102048b2daccbf6a6f4e97ba2 (patch) | |
tree | 92f6769d3fbb5936e32d5fb82480b776ea6fbfb9 /apps/tagcache.c | |
parent | 273fbadb5537743829f9830de5247626a11aedca (diff) | |
download | rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.tar.gz rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.zip |
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.c | 22 |
1 files changed, 0 insertions, 22 deletions
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) | |||
1309 | return true; | 1309 | return true; |
1310 | } | 1310 | } |
1311 | 1311 | ||
1312 | bool tagcache_is_busy(void) | ||
1313 | { | ||
1314 | return read_lock || write_lock; | ||
1315 | } | ||
1316 | |||
1317 | bool tagcache_search(struct tagcache_search *tcs, int tag) | 1312 | bool tagcache_search(struct tagcache_search *tcs, int tag) |
1318 | { | 1313 | { |
1319 | struct tagcache_header tag_hdr; | 1314 | struct tagcache_header tag_hdr; |
@@ -3303,16 +3298,6 @@ void tagcache_update_numeric(int idx_id, int tag, long data) | |||
3303 | } | 3298 | } |
3304 | #endif /* !__PCTOOL__ */ | 3299 | #endif /* !__PCTOOL__ */ |
3305 | 3300 | ||
3306 | long tagcache_get_serial(void) | ||
3307 | { | ||
3308 | return current_tcmh.serial; | ||
3309 | } | ||
3310 | |||
3311 | long tagcache_get_commitid(void) | ||
3312 | { | ||
3313 | return current_tcmh.commitid; | ||
3314 | } | ||
3315 | |||
3316 | static bool write_tag(int fd, const char *tagstr, const char *datastr) | 3301 | static bool write_tag(int fd, const char *tagstr, const char *datastr) |
3317 | { | 3302 | { |
3318 | char buf[512]; | 3303 | char buf[512]; |
@@ -4794,13 +4779,6 @@ void tagcache_stop_scan(void) | |||
4794 | queue_post(&tagcache_queue, Q_STOP_SCAN, 0); | 4779 | queue_post(&tagcache_queue, Q_STOP_SCAN, 0); |
4795 | } | 4780 | } |
4796 | 4781 | ||
4797 | #ifdef HAVE_TC_RAMCACHE | ||
4798 | bool tagcache_is_ramcache(void) | ||
4799 | { | ||
4800 | return tc_stat.ramcache; | ||
4801 | } | ||
4802 | #endif | ||
4803 | |||
4804 | #endif /* !__PCTOOL__ */ | 4782 | #endif /* !__PCTOOL__ */ |
4805 | 4783 | ||
4806 | 4784 | ||