Skip to content

Commit 5d84ffb

Browse files
committed
Remove un-needed statements
@vehre suggested these be removed in pull request #255 and I agree
1 parent 4b83222 commit 5d84ffb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/mpi/mpi_caf.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -925,8 +925,6 @@ PREFIX (sendget) (caf_token_t token_s, size_t offset_s, int image_index_s,
925925
}
926926

927927
array_offset_dst += (i / tot_ext) * dest->dim[rank-1]._stride;
928-
929-
extent = (dest->dim[rank-1]._ubound - dest->dim[rank-1].lower_bound + 1);
930928
dst_offset = offset_s + array_offset_dst*GFC_DESCRIPTOR_SIZE (dest);
931929

932930
ptrdiff_t array_offset_sr = 0;
@@ -946,7 +944,6 @@ PREFIX (sendget) (caf_token_t token_s, size_t offset_s, int image_index_s,
946944
tot_ext *= extent;
947945
}
948946

949-
/* extent = (src->dim[rank-1]._ubound - src->dim[rank-1].lower_bound + 1); */
950947
array_offset_sr += (i / tot_ext) * src->dim[rank-1]._stride;
951948
array_offset_sr *= GFC_DESCRIPTOR_SIZE (src);
952949
}

0 commit comments

Comments
 (0)