Skip to content

Commit 82e4cc1

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

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
@@ -481,10 +481,6 @@ ompi_osc_sm_shared_query(struct ompi_win_t *win, int rank, size_t *size, ptrdiff
481481
ompi_osc_sm_module_t *module =
482482
(ompi_osc_sm_module_t*) win->w_osc_module;
483483

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

0 commit comments

Comments
 (0)