summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/offload.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm
index e65125741f..e6be8b4465 100644
--- a/guix/scripts/offload.scm
+++ b/guix/scripts/offload.scm
@@ -606,9 +606,7 @@ defines a total order on machines.)"
((machine1 slot1)
(match b
((machine2 slot2)
- (if (pred machine1 machine2)
- (list machine1 slot1)
- (list machine2 slot2))))))))
+ (pred machine1 machine2)))))))
(let loop ((machines+slots
(sort machines+slots