about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/compression.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libutil/compression.cc')
-rw-r--r--third_party/nix/src/libutil/compression.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/third_party/nix/src/libutil/compression.cc b/third_party/nix/src/libutil/compression.cc
index a50076fcd550..779d326eb204 100644
--- a/third_party/nix/src/libutil/compression.cc
+++ b/third_party/nix/src/libutil/compression.cc
@@ -214,7 +214,6 @@ struct XzCompressionSink : CompressionSink {
     bool done = false;
 
     if (parallel) {
-#ifdef HAVE_LZMA_MT
       lzma_mt mt_options = {};
       mt_options.flags = 0;
       mt_options.timeout = 300;  // Using the same setting as the xz cmd line
@@ -230,10 +229,6 @@ struct XzCompressionSink : CompressionSink {
       // number of threads.
       ret = lzma_stream_encoder_mt(&strm, &mt_options);
       done = true;
-#else
-      LOG(ERROR) << "parallel XZ compression requested but not supported, "
-                 << "falling back to single-threaded compression";
-#endif
     }
 
     if (!done) {