Skip to content

Commit bb0595f

Browse files
committed
SQUASHME: remove guard for shared windows from osc/sm
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
1 parent c4d92cd commit bb0595f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ompi/mca/osc/sm/osc_sm_component.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,6 @@ ompi_osc_sm_shared_query(struct ompi_win_t *win, int rank, size_t *size, ptrdiff
480480
ompi_osc_sm_module_t *module =
481481
(ompi_osc_sm_module_t*) win->w_osc_module;
482482

483-
if (module->flavor != MPI_WIN_FLAVOR_SHARED) {
484-
return MPI_ERR_WIN;
485-
}
486-
487483
if (MPI_PROC_NULL != rank) {
488484
*size = module->sizes[rank];
489485
*((void**) baseptr) = module->bases[rank];

0 commit comments

Comments
 (0)