From 1183b6dd0f7bec91aa4adf5b30f62b87146cc9a6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Jul 2016 11:55:01 +0200 Subject: [PATCH] trigger: remove unnecessary runqueue empty callback Signed-off-by: Felix Fietkau --- service/trigger.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/service/trigger.c b/service/trigger.c index 4cfea31..042b3b6 100644 --- a/service/trigger.c +++ b/service/trigger.c @@ -217,10 +217,6 @@ static void rule_handle_error(struct json_script_ctx *ctx, const char *msg, free(s); } -static void q_empty(struct runqueue *q) -{ -} - static void trigger_delay_cb(struct uloop_timeout *tout) { struct trigger *t = container_of(tout, struct trigger, delay); @@ -319,7 +315,6 @@ void trigger_del(void *id) void trigger_init(void) { runqueue_init(&q); - q.empty_cb = q_empty; q.max_running_tasks = 1; } -- 2.25.1