From 1c3855f33b66accf106a015a4f94c3b7775c54f9 Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Wed, 13 Jan 2021 17:24:58 -0500 Subject: pack-revindex: remove unused 'find_pack_revindex()' Now that no callers of 'find_pack_revindex()' remain, remove the function's declaration and implementation entirely. Signed-off-by: Taylor Blau Signed-off-by: Junio C Hamano --- pack-revindex.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'pack-revindex.h') diff --git a/pack-revindex.h b/pack-revindex.h index 5a218aaa66..f7094ba9a5 100644 --- a/pack-revindex.h +++ b/pack-revindex.h @@ -30,8 +30,6 @@ struct revindex_entry { int load_pack_revindex(struct packed_git *p); int find_revindex_position(struct packed_git *p, off_t ofs); -struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs); - /* * offset_to_pack_pos converts an object offset to a pack position. This * function returns zero on success, and a negative number otherwise. The -- cgit v1.2.3