From 8be88dbcb1322df53c41c496bf718c5564c82bfb Mon Sep 17 00:00:00 2001 From: René Scharfe Date: Mon, 7 Jan 2019 18:29:16 +0100 Subject: object-store: retire odb_load_loose_cache() Inline odb_load_loose_cache() into its only remaining caller, odb_loose_cache(). The latter offers a nicer interface for loading the cache, as it doesn't require callers to deal with fanout directory numbers directly. Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- object-store.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'object-store.h') diff --git a/object-store.h b/object-store.h index 2fb6c0e4db..e16aa38cae 100644 --- a/object-store.h +++ b/object-store.h @@ -47,13 +47,6 @@ void add_to_alternates_file(const char *dir); */ void add_to_alternates_memory(const char *dir); -/* - * Populate an odb's loose object cache for one particular subdirectory (i.e., - * the one that corresponds to the first byte of objects you're interested in, - * from 0 to 255 inclusive). - */ -void odb_load_loose_cache(struct object_directory *odb, int subdir_nr); - /* * Populate and return the loose object cache array corresponding to the * given object ID. -- cgit v1.3