From 6d0ac95170f8b18da1e926a0eb6e554a611ca5ec Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 13 Mar 2011 12:12:37 +1100 Subject: [PATCH] Remove extra locking that does nothing. --- stream.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stream.c b/stream.c index ba49d9e..9c68749 100644 --- a/stream.c +++ b/stream.c @@ -825,10 +825,7 @@ void prepare_streamout_threads(rzip_control *control) void close_streamout_threads(rzip_control *control) { - int i, close_thread; - lock_mutex(&output_lock); - close_thread = output_thread; - unlock_mutex(&output_lock); + int i, close_thread = output_thread; /* Wait for the threads in the correct order in case they end up * serialised */