mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Remove extra locking that does nothing.
This commit is contained in:
parent
6ac74aa9f0
commit
6d0ac95170
5
stream.c
5
stream.c
|
|
@ -825,10 +825,7 @@ void prepare_streamout_threads(rzip_control *control)
|
||||||
|
|
||||||
void close_streamout_threads(rzip_control *control)
|
void close_streamout_threads(rzip_control *control)
|
||||||
{
|
{
|
||||||
int i, close_thread;
|
int i, close_thread = output_thread;
|
||||||
lock_mutex(&output_lock);
|
|
||||||
close_thread = output_thread;
|
|
||||||
unlock_mutex(&output_lock);
|
|
||||||
|
|
||||||
/* Wait for the threads in the correct order in case they end up
|
/* Wait for the threads in the correct order in case they end up
|
||||||
* serialised */
|
* serialised */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue