iRemove unused walk_cache() - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 7bc1938fee548aff02249ee16bd57db7e5579e9b /scm/dedup/commit/7bc1938fee548aff02249ee16bd57db7e5579e9b.gph bitreich.org 70 1parent 85dd2ab8858f5d67de5ad4e978cbde204b4e7b10 /scm/dedup/commit/85dd2ab8858f5d67de5ad4e978cbde204b4e7b10.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Sat, 9 Mar 2019 21:41:35 +0000 Err bitreich.org 70 i Err bitreich.org 70 iRemove unused walk_cache() Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M cache.c | 10 ---------- Err bitreich.org 70 i M dedup.h | 2 -- Err bitreich.org 70 i Err bitreich.org 70 i2 files changed, 0 insertions(+), 12 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/cache.c b/cache.c /scm/dedup/file/cache.c.gph bitreich.org 70 i@@ -100,13 +100,3 @@ lookup_cache_entry(struct cache *cache, struct blk_desc *desc) Err bitreich.org 70 i } Err bitreich.org 70 i return -1; Err bitreich.org 70 i } Err bitreich.org 70 i- Err bitreich.org 70 i-void Err bitreich.org 70 i-walk_cache(struct cache *cache, Err bitreich.org 70 i- int (*fn)(struct blk_desc *, void *), void *arg) Err bitreich.org 70 i-{ Err bitreich.org 70 i- struct cache_node *node; Err bitreich.org 70 i- Err bitreich.org 70 i- RB_FOREACH(node, cache_head, &cache->nodes) Err bitreich.org 70 i- (*fn)(&node->desc, arg); Err bitreich.org 70 i-} Err bitreich.org 70 1diff --git a/dedup.h b/dedup.h /scm/dedup/file/dedup.h.gph bitreich.org 70 i@@ -75,8 +75,6 @@ struct cache *alloc_cache(void); Err bitreich.org 70 i void free_cache(struct cache *cache); Err bitreich.org 70 i void add_cache_entry(struct cache *cache, struct blk_desc *desc); Err bitreich.org 70 i int lookup_cache_entry(struct cache *cache, struct blk_desc *desc); Err bitreich.org 70 i-void walk_cache(struct cache *cache, Err bitreich.org 70 i- int (*fn)(struct blk_desc *, void *), void *arg); Err bitreich.org 70 i Err bitreich.org 70 i /* chunker.c */ Err bitreich.org 70 i struct chunker *alloc_chunker(int fd, size_t cap); Err bitreich.org 70 .