From e35273f61283787462f7bd2a9f9abf1d236c2ca8 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 29 Jan 2020 21:32:39 +0100 Subject: [PATCH] vfs: remove dead cache_get_revlist_item() Signed-off-by: Johannes Berg Reviewed-by: Rob Browning --- lib/bup/vfs.py | 5 ----- 1 file changed, 5 deletions(-) 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. -- 2.39.2