From 7d27e3c81e8c611946aaea9de4edc2714b40be8a Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 11 Dec 2016 18:48:59 +0100 Subject: [PATCH] No need for the AS creation callback --- src/surf/sg_platf.cpp | 1 - src/surf/surf_routing.cpp | 9 --------- src/surf/surf_routing.hpp | 8 -------- 3 files changed, 18 deletions(-) diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index 8851dd6a37..a6627a2738 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -717,7 +717,6 @@ simgrid::s4u::As * sg_platf_new_AS_begin(sg_platf_AS_cbarg_t AS) /* set the new current component of the tree */ current_routing = new_as; - simgrid::kernel::routing::asCreatedCallbacks(new_as); if (TRACE_is_enabled()) sg_instr_AS_begin(AS); diff --git a/src/surf/surf_routing.cpp b/src/surf/surf_routing.cpp index 5d8bdb5283..7904fff958 100644 --- a/src/surf/surf_routing.cpp +++ b/src/surf/surf_routing.cpp @@ -20,15 +20,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route, surf, "Routing part of surf"); -namespace simgrid { -namespace kernel { -namespace routing { - - /* Callbacks */ - simgrid::xbt::signal asCreatedCallbacks; - -}}} // namespace simgrid::kernel::routing - /** * @ingroup SURF_build_api * @brief A library containing all known hosts diff --git a/src/surf/surf_routing.hpp b/src/surf/surf_routing.hpp index d42dac9dbf..63cbd5a002 100644 --- a/src/surf/surf_routing.hpp +++ b/src/surf/surf_routing.hpp @@ -20,12 +20,4 @@ XBT_PRIVATE xbt_node_t new_xbt_graph_node (xbt_graph_t graph, const char *name, XBT_PRIVATE xbt_edge_t new_xbt_graph_edge (xbt_graph_t graph, xbt_node_t s, xbt_node_t d, xbt_dict_t edges); SG_END_DECL() -namespace simgrid { -namespace kernel { -namespace routing { - - XBT_PUBLIC_DATA(simgrid::xbt::signal) asCreatedCallbacks; - -}}} - #endif /* NETWORK_ROUTING_HPP_ */ -- 2.20.1