diff --git a/ompi/mca/coll/tuned/coll_tuned_allgatherv.c b/ompi/mca/coll/tuned/coll_tuned_allgatherv.c index 60e04839a2..773f2f1c98 100644 --- a/ompi/mca/coll/tuned/coll_tuned_allgatherv.c +++ b/ompi/mca/coll/tuned/coll_tuned_allgatherv.c @@ -99,7 +99,6 @@ int ompi_coll_tuned_allgatherv_intra_bruck(void *sbuf, int scount, ptrdiff_t slb, rlb, sext, rext; char *tmpsend = NULL, *tmprecv = NULL; struct ompi_datatype_t *new_rdtype, *new_sdtype; - ompi_request_t *req; size = ompi_comm_size(comm); rank = ompi_comm_rank(comm); diff --git a/ompi/mca/coll/tuned/coll_tuned_gather.c b/ompi/mca/coll/tuned/coll_tuned_gather.c index d7363c9b9a..c2fa416ff2 100644 --- a/ompi/mca/coll/tuned/coll_tuned_gather.c +++ b/ompi/mca/coll/tuned/coll_tuned_gather.c @@ -217,7 +217,6 @@ ompi_coll_tuned_gather_intra_linear_sync(void *sbuf, int scount, int rank, size; int first_segment_count; size_t typelng; - MPI_Aint incr; MPI_Aint extent; MPI_Aint lb; @@ -280,7 +279,7 @@ ompi_coll_tuned_gather_intra_linear_sync(void *sbuf, int scount, first_segment_count ); ptmp = (char *) rbuf; - for (i = 0; i < size; ++i, ptmp += incr) { + for (i = 0; i < size; ++i) { if (i == rank) { /* skip myself */ reqs[i] = MPI_REQUEST_NULL;