From: Arnaud Giersch Date: Sat, 17 Apr 2021 19:12:19 +0000 (+0200) Subject: Minor cleanups (useless stuff). X-Git-Tag: v3.28~455^2~12 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2d42b4bde2a305fa165d26f3d81f86e4aa6ff7aa Minor cleanups (useless stuff). --- diff --git a/src/smpi/mpi/smpi_group.cpp b/src/smpi/mpi/smpi_group.cpp index f9873bf744..e97d8da1eb 100644 --- a/src/smpi/mpi/smpi_group.cpp +++ b/src/smpi/mpi/smpi_group.cpp @@ -9,7 +9,6 @@ #include simgrid::smpi::Group smpi_MPI_GROUP_EMPTY; -extern XBT_PRIVATE MPI_Comm MPI_COMM_UNINITIALIZED; namespace simgrid{ namespace smpi{ diff --git a/src/smpi/mpi/smpi_request.cpp b/src/smpi/mpi/smpi_request.cpp index c1a6de0dc1..c33b284af6 100644 --- a/src/smpi/mpi/smpi_request.cpp +++ b/src/smpi/mpi/smpi_request.cpp @@ -471,10 +471,8 @@ void Request::start() } else { /* the RECV flag was not set, so this is a send */ const simgrid::smpi::ActorExt* process = smpi_process_remote(simgrid::s4u::Actor::by_pid(dst_)); xbt_assert(process, "Actor pid=%d is gone??", dst_); - int rank = src_; - if (TRACE_smpi_view_internals()) { - TRACE_smpi_send(rank, rank, dst_, tag_, size_); - } + if (TRACE_smpi_view_internals()) + TRACE_smpi_send(src_, src_, dst_, tag_, size_); this->print_request("New send"); void* buf = buf_;