From 650de88ec6892aa5dc54e05836495ee0c2541c95 Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Wed, 11 Nov 2020 11:44:08 +0000
Subject: [PATCH] Formatting and remove debug

---
 src/threadpool.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/threadpool.c b/src/threadpool.c
index 70bb1716d0..199bcf538c 100644
--- a/src/threadpool.c
+++ b/src/threadpool.c
@@ -149,10 +149,7 @@ static void threadpool_chomp(struct threadpool *tp, int tid) {
     if (chunk_size < 1) chunk_size = 1;
 
     /* A chunk cannot exceed INT_MAX, as we use int elements in map_function. */
-    if (chunk_size > INT_MAX) {
-       chunk_size = INT_MAX;
-.       message("chunking down to INT_MAX");
-    }
+    if (chunk_size > INT_MAX) chunk_size = INT_MAX;
 
     /* Get a chunk and check its size. */
     size_t task_ind = atomic_add(&tp->map_data_count, chunk_size);
-- 
GitLab