branch: externals/gcmh
commit 2827dfff7568786f8055f57a9bbb56d74f126889
Author: Andrea Corallo <[email protected]>
Commit: Andrea Corallo <[email protected]>
Clean-up unnecessary logic
---
gcmh.el | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gcmh.el b/gcmh.el
index e576704..590a5d6 100644
--- a/gcmh.el
+++ b/gcmh.el
@@ -112,10 +112,6 @@ Cancel the previous one if present."
"Minor mode to tweak Garbage Collection strategy."
:lighter " GCMH"
:global t
-
- ;; Cancel any pending timer (prevents duplicate idle timers).
- (when (timerp gcmh-idle-timer)
- (cancel-timer gcmh-idle-timer))
(if gcmh-mode
(progn
(setf gc-cons-threshold gcmh-high-cons-threshold)