worktree: rename is_worktree_locked to worktree_lock_reason
[gitweb.git] / builtin / pack-objects.c
index b059b86aee68ceb63e06bc0d8e9ec680686e6bd4..e50c6cd1ff25ce4d65e0ebd854d052c3d1160a2a 100644 (file)
@@ -2399,7 +2399,6 @@ static void init_threaded_search(void)
        pthread_mutex_init(&cache_mutex, NULL);
        pthread_mutex_init(&progress_mutex, NULL);
        pthread_cond_init(&progress_cond, NULL);
-       pthread_mutex_init(&to_pack.lock, NULL);
        old_try_to_free_routine = set_try_to_free_routine(try_to_free_from_threads);
 }