Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill unused function TRACE_surf_action().
[simgrid.git] / src / surf / instr_surf.cpp
index 2746a66..8cf1ecf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010, 2012-2017. The SimGrid Team.
+/* Copyright (c) 2010, 2012-2018. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -22,11 +22,3 @@ void TRACE_surf_link_set_bandwidth(double date, const char *resource, double ban
     simgrid::instr::Container::byName(resource)->getVariable("bandwidth")->setEvent(date, bandwidth);
   }
 }
-
-void TRACE_surf_action(surf_action_t surf_action, const char *category)
-{
-  if (not TRACE_is_enabled() || not TRACE_categorized() || not category)
-    return;
-
-  surf_action->setCategory(category);
-}