From f05083da42eef633dfdf50f44e63fb18e3c0dcec Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Fri, 22 Apr 2016 19:33:47 +0200 Subject: [PATCH] [SMPI] Call location: Cleanups. --- src/smpi/smpi_bench.cpp | 4 +--- src/smpi/smpi_global.cpp | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/smpi/smpi_bench.cpp b/src/smpi/smpi_bench.cpp index 4fd45816d1..a997df03b7 100644 --- a/src/smpi/smpi_bench.cpp +++ b/src/smpi/smpi_bench.cpp @@ -740,13 +740,11 @@ void smpi_destroy_global_memory_segments(){ extern "C" { - smpi_trace_call_location_t trace_call_location; - smpi_trace_call_location_t* smpi_trace_get_call_location() { return smpi_process_get_call_location(); } - void smpi_trace_set_call_location(const char* file, int line) { + void smpi_trace_set_call_location(const char* file, const int line) { smpi_trace_call_location_t* loc = smpi_process_get_call_location(); loc->previous_filename = loc->filename; diff --git a/src/smpi/smpi_global.cpp b/src/smpi/smpi_global.cpp index 2a9ad70f4e..2dd5af60fe 100644 --- a/src/smpi/smpi_global.cpp +++ b/src/smpi/smpi_global.cpp @@ -445,7 +445,6 @@ void smpi_global_init(void) boost::trim(location); location2speedup.insert(std::pair(location, std::stod(*end))); } - } if (process_count == 0){ -- 2.20.1