1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

remove older stuff

This commit is contained in:
Steffen Vogel 2016-02-04 17:50:05 +01:00
parent 79fa624c3e
commit 707f08ceec
2 changed files with 0 additions and 6 deletions

View file

@ -455,9 +455,6 @@ void hook_stats_header()
line();
}
/** @todo Come up with a better solution for this ugly workaround */
struct list *hook_nodes = NULL;
REGISTER_HOOK("stats_send", 99, hook_stats_send, HOOK_PRIVATE | HOOK_PERIODIC)
int hook_stats_send(struct path *p, struct hook *h, int when)
{

View file

@ -173,9 +173,6 @@ int main(int argc, char *argv[])
else
warn("No path is using the node %s. Skipping...", node_name(n));
}
/** @todo This is a ugly workaround to get a reference to the node list inside the stats_send() hook */
extern struct list *hook_nodes = &nodes;
info("Starting paths");
list_foreach(struct path *p, &paths) { INDENT