From 98961e42f047bf0a9891d6c7d58d54e86285ae52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 28 Sep 2021 15:02:20 +0200 Subject: refs.[ch]: remove unused ref_storage_backend_exists() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function was added in 3dce444f178 (refs: add a backend method structure, 2016-09-04), but has never been used by anything. The only caller that might care uses find_ref_storage_backend() directly. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- refs.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'refs.h') diff --git a/refs.h b/refs.h index 48970dfc7e..573b69863d 100644 --- a/refs.h +++ b/refs.h @@ -836,8 +836,6 @@ int reflog_expire(const char *refname, const struct object_id *oid, reflog_expiry_cleanup_fn cleanup_fn, void *policy_cb_data); -int ref_storage_backend_exists(const char *name); - struct ref_store *get_main_ref_store(struct repository *r); /** -- cgit v1.2.3