Skip to content
Snippets Groups Projects
Commit 3f74d259 authored by Danny Auble's avatar Danny Auble
Browse files

Remove bad locks

parent 23ded485
No related branches found
No related tags found
No related merge requests found
...@@ -233,7 +233,6 @@ static int _read_ofed_values(void) ...@@ -233,7 +233,6 @@ static int _read_ofed_values(void)
return SLURM_ERROR; 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_XMT_BYTES_F, &send_val);
mad_decode_field(pc, IB_PC_EXT_RCV_BYTES_F, &recv_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); mad_decode_field(pc, IB_PC_EXT_XMT_PKTS_F, &send_pkts);
...@@ -255,7 +254,6 @@ static int _read_ofed_values(void) ...@@ -255,7 +254,6 @@ static int _read_ofed_values(void)
ofed_sens.last_update_time = ofed_sens.update_time; ofed_sens.last_update_time = ofed_sens.update_time;
ofed_sens.update_time = time(NULL); ofed_sens.update_time = time(NULL);
slurm_mutex_unlock(&ofed_lock);
return rc; return rc;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment