Index: trunk/ppImage/src/ppImageLoop_Threaded.c
===================================================================
--- trunk/ppImage/src/ppImageLoop_Threaded.c	(revision 18823)
+++ trunk/ppImage/src/ppImageLoop_Threaded.c	(revision 18894)
@@ -65,34 +65,7 @@
 		// and before any of the value are used)
 		if (!ppImageSetMaskBits (config, options)) ESCAPE ("Unable to set bit masks");
-
-		// allocate a job
-		// XXX we are threading by pmReadout, but this only helps mu
-		psThreadJob *job = psThreadJobAlloc ("PPIMAGE_DETREND_READOUT", 0);
-
-		// construct the arguments for this job
-		psArrayAdd (job->args, 1, config);
-		psArrayAdd (job->args, 1, options);
-		psArrayAdd (job->args, 1, view);
-
-		// ppImageDetrendReadout(config, options, view)
-		if (!psThreadJobAddPending (job)) ESCAPE ("Unable to detrend readout");
+		
+		if (!ppImageDetrendReadout(config, options, view)) ESCAPE ("Unable to detrend readout");
             }
-
-	    // wait for the threads to finish and manage results
-	    if (nThreads) {
-		// wait here for the threaded jobs to finish
-		if (!psThreadPoolWait ()) {
-		    psError(PS_ERR_UNKNOWN, false, "Unable to interpolate image.");
-		    return false;
-		}
-		fprintf (stderr, "success for threaded jobs\n");
-
-		// we don't care about the results, just dump the done queue jobs
-		psThreadJob *job = NULL;
-		while ((job = psThreadJobGetDone()) != NULL) {
-		    psFree (job);
-		}
-	    }
-
         }
 
