summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/timerwheel.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/timerwheel.c b/src/lib/timerwheel.c
index 487dcd0e..5c0fbfa0 100644
--- a/src/lib/timerwheel.c
+++ b/src/lib/timerwheel.c
@@ -395,12 +395,6 @@ static int timerwheel_ack(int fd,
clock_gettime(PTHREAD_COND_CLOCK, &now);
- slot = DELT_ACK >> ACKQ_RES;
- if (slot >= ACKQ_SLOTS) { /* Out of timerwheel range. */
- free(a);
- return -EPERM;
- }
-
slot = (((ts_to_ns(now) + DELT_ACK) >> ACKQ_RES) + 1)
& (ACKQ_SLOTS - 1);