diff --git a/src/plugins/acct_gather_infiniband/ofed/acct_gather_infiniband_ofed.c b/src/plugins/acct_gather_infiniband/ofed/acct_gather_infiniband_ofed.c index ca6dd25c6f7e757e352660c575a9ccb1914ead63..d47704d86c0f2101f905e737f74acdf6d2879ff7 100644 --- a/src/plugins/acct_gather_infiniband/ofed/acct_gather_infiniband_ofed.c +++ b/src/plugins/acct_gather_infiniband/ofed/acct_gather_infiniband_ofed.c @@ -233,7 +233,6 @@ static int _read_ofed_values(void) return SLURM_ERROR; } - slurm_mutex_lock(&ofed_lock); mad_decode_field(pc, IB_PC_EXT_XMT_BYTES_F, &send_val); mad_decode_field(pc, IB_PC_EXT_RCV_BYTES_F, &recv_val); mad_decode_field(pc, IB_PC_EXT_XMT_PKTS_F, &send_pkts); @@ -255,7 +254,6 @@ static int _read_ofed_values(void) ofed_sens.last_update_time = ofed_sens.update_time; ofed_sens.update_time = time(NULL); - slurm_mutex_unlock(&ofed_lock); return rc; }