From 2bf2b4f8cac3f7acc9982c21ea5d0714d50f7541 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 3 Oct 2024 10:04:34 -0700 Subject: [PATCH] Remove duplicated code in unregister call Signed-off-by: Quincey Koziol --- src/H5FDmpio.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c index 73436c0c0a4..c349bcb052e 100644 --- a/src/H5FDmpio.c +++ b/src/H5FDmpio.c @@ -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;