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:
parent
79fa624c3e
commit
707f08ceec
2 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue