From 26de68319e3690dfd6537d61fd9b7dbb536ce140 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 16 Sep 2017 22:21:20 +0200 Subject: [PATCH 1/1] instr: kill a dead function --- src/instr/instr_paje_types.cpp | 5 ----- src/instr/instr_private.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/instr/instr_paje_types.cpp b/src/instr/instr_paje_types.cpp index 2e765a0c79..e8b59fa77a 100644 --- a/src/instr/instr_paje_types.cpp +++ b/src/instr/instr_paje_types.cpp @@ -10,11 +10,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_paje_types, instr, "Paje tracing event sy static simgrid::instr::Type* rootType = nullptr; /* the root type */ -void PJ_type_release () -{ - rootType = nullptr; -} - simgrid::instr::Type* PJ_type_get_root() { return rootType; diff --git a/src/instr/instr_private.h b/src/instr/instr_private.h index a9e58f6953..1043a213c5 100644 --- a/src/instr/instr_private.h +++ b/src/instr/instr_private.h @@ -336,7 +336,6 @@ XBT_PUBLIC(void) PJ_container_free_all (void); XBT_PUBLIC(void) PJ_container_remove_from_parent (container_t container); /* instr_paje_types.c */ -XBT_PRIVATE void PJ_type_release (); XBT_PUBLIC(simgrid::instr::Type*) PJ_type_get_root(); /* instr_config.c */ -- 2.20.1