From: Johannes Berg Date: Wed, 29 Jan 2020 20:32:39 +0000 (+0100) Subject: vfs: remove dead cache_get_revlist_item() X-Git-Tag: 0.31~98 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=commitdiff_plain;h=e35273f61283787462f7bd2a9f9abf1d236c2ca8 vfs: remove dead cache_get_revlist_item() Signed-off-by: Johannes Berg Reviewed-by: Rob Browning --- diff --git a/lib/bup/vfs.py b/lib/bup/vfs.py index 9222f8f..8b4789c 100644 --- a/lib/bup/vfs.py +++ b/lib/bup/vfs.py @@ -438,11 +438,6 @@ def cache_get_commit_item(oid, need_meta=True): if entries: return entries[b'.'] -def cache_get_revlist_item(oid, need_meta=True): - commit = cache_get_commit_item(oid, need_meta=need_meta) - if commit: - return RevList(oid=oid, meta=commit.meta) - def copy_item(item): """Return a completely independent copy of item, such that modifications will not affect the original.