From fc0202b0e9679d44ebc5806c07439442d0a94a7a Mon Sep 17 00:00:00 2001 From: "Dr. David Alan Gilbert" Date: Sun, 12 May 2024 01:59:13 +0100 Subject: [PATCH] fetch-pack: remove unused 'struct loose_object_iter' 'struct loose_object_iter' in fetch-pack.c is unused since commit 97b2fa08 (fetch-pack: drop custom loose object cache, 2018-11-12). Remove it. Signed-off-by: Dr. David Alan Gilbert Acked-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- fetch-pack.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fetch-pack.c b/fetch-pack.c index 04016d1e32..c45b493f99 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -728,11 +728,6 @@ static void mark_alternate_complete(struct fetch_negotiator *unused, mark_complete(&obj->oid); } -struct loose_object_iter { - struct oidset *loose_object_set; - struct ref *refs; -}; - /* * Mark recent commits available locally and reachable from a local ref as * COMPLETE.