From: Martin Quinson Date: Fri, 8 Jan 2016 20:37:59 +0000 (+0100) Subject: kill a now unused function X-Git-Tag: v3_13~1306 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/33e5b0ceeb953cc2fbdb7b7ffa3e9f9325629292 kill a now unused function --- diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index e9ead8a491..c5f4f048e9 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -615,13 +615,6 @@ XBT_PUBLIC(void*) surf_action_get_data(surf_action_t action); */ XBT_PUBLIC(void) surf_action_set_data(surf_action_t action, void *data); -/** - * @brief Unreference an action - * - * @param action The surf action - */ -XBT_PUBLIC(void) surf_action_unref(surf_action_t action); - /** * @brief Get the start time of an action * diff --git a/src/surf/surf_c_bindings.cpp b/src/surf/surf_c_bindings.cpp index 866faf20cc..8ce32d46a6 100644 --- a/src/surf/surf_c_bindings.cpp +++ b/src/surf/surf_c_bindings.cpp @@ -455,10 +455,6 @@ double surf_action_get_remains(surf_action_t action){ return action->getRemains(); } -void surf_action_unref(surf_action_t action){ - action->unref(); -} - void surf_action_suspend(surf_action_t action){ action->suspend(); }