mksquashfs: Get rid of fragment_waiting which is unused
It has been unused since commit 49e4f287beb66a74de3857b5fba77497d9c3753a
in 2008, which replaced code which waited for fragments to be written
to disk before writing a mult-block file, with the much better
"locked fragment" queue.
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
diff --git a/squashfs-tools/mksquashfs.c b/squashfs-tools/mksquashfs.c
index 3653e2f..89e92a4 100644
--- a/squashfs-tools/mksquashfs.c
+++ b/squashfs-tools/mksquashfs.c
@@ -283,7 +283,6 @@
pthread_t *thread, *deflator_thread, *frag_deflator_thread;
pthread_t *restore_thread = NULL;
pthread_mutex_t fragment_mutex;
-pthread_cond_t fragment_waiting;
pthread_mutex_t pos_mutex;
/* user options that control parallelisation */
@@ -4070,7 +4069,6 @@
init_progress_bar();
init_info();
pthread_mutex_init(&fragment_mutex, NULL);
- pthread_cond_init(&fragment_waiting, NULL);
for(i = 0; i < processors; i++) {
if(pthread_create(&deflator_thread[i], NULL, deflator, NULL) !=