aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/monitored.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-04 12:51:12 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-04 12:51:12 +0100
commit39dfdab80d11c6bc7b10f37d819414358d5249f9 (patch)
treecca9a8af22233ad25d89314567ec03d9b8eac2d1 /src/libserver/monitored.c
parent27ffa75d2b359e9107c5a62c307692260037ccdc (diff)
downloadrspamd-39dfdab80d11c6bc7b10f37d819414358d5249f9.tar.gz
rspamd-39dfdab80d11c6bc7b10f37d819414358d5249f9.zip
[Minor] Remove unused struct timeval
Diffstat (limited to 'src/libserver/monitored.c')
-rw-r--r--src/libserver/monitored.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index 821e128d6..256651129 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -172,13 +172,11 @@ static void
rspamd_monitored_periodic (EV_P_ ev_timer *w, int revents)
{
struct rspamd_monitored *m = (struct rspamd_monitored *)w->data;
- struct timeval tv;
gdouble jittered;
gboolean ret = FALSE;
jittered = rspamd_time_jitter (m->ctx->monitoring_interval * m->monitoring_mult,
0.0);
- double_to_tv (jittered, &tv);
if (m->proc.monitored_update) {
ret = m->proc.monitored_update (m, m->ctx, m->proc.ud);