projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf8b05
)
trigger: remove unnecessary runqueue empty callback
author
Felix Fietkau
<nbd@nbd.name>
Fri, 29 Jul 2016 09:55:01 +0000
(11:55 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 29 Jul 2016 09:55:01 +0000
(11:55 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
service/trigger.c
patch
|
blob
|
history
diff --git
a/service/trigger.c
b/service/trigger.c
index 4cfea316f2af4b7e5e5c4c241bff230db94a0c2d..042b3b6aa6d76a8d5ac6ec3cdcd353eb2879da69 100644
(file)
--- 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;
}