From 8b373b2147f27e357ce7003e1f56f87e517f6b9f Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 2 Dec 2017 11:38:05 +0100 Subject: [PATCH] clusterd: Remove unused sub heartbeat. --- clusterd/clusterd | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/clusterd/clusterd b/clusterd/clusterd index 01a8acc..3f5fb5e 100755 --- a/clusterd/clusterd +++ b/clusterd/clusterd @@ -105,16 +105,6 @@ sub cancel_handle #-------------------------------------------- -sub heartbeat -{ - $time++; - while (@TIMER && $TIMER[0]->[0]<=$time) { - $active_timer_cb=(shift @TIMER)->[1]; - $active_timer_cb->call(); - } - $active_timer_cb=undef; -} - sub run { while (1) {