Skip to content

Commit

Permalink
Remove duplicated code in unregister call
Browse files Browse the repository at this point in the history
Signed-off-by: Quincey Koziol <[email protected]>
  • Loading branch information
qkoziol committed Oct 3, 2024
1 parent ee7073f commit 2bf2b4f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/H5FDmpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,17 +300,6 @@ H5FD__mpio_unregister(void)
{
FUNC_ENTER_PACKAGE_NOERR

/* Terminate MPI if the driver initialized it */
if (H5FD_mpi_self_initialized_s) {
int mpi_finalized = 0;

MPI_Finalized(&mpi_finalized);
if (!mpi_finalized)
MPI_Finalize();

H5FD_mpi_self_initialized_s = false;
}

/* Reset VFL ID */
H5FD_MPIO_id_g = H5I_INVALID_HID;

Expand Down

0 comments on commit 2bf2b4f

Please sign in to comment.