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

BGQ - cleaner code to exit out of loop when we already know we are only

looking for 1 midplane, no reason to go through any more than that.
parent f826e0b5
No related branches found
No related tags found
No related merge requests found
...@@ -1191,7 +1191,7 @@ extern int ba_sub_block_in_record_clear( ...@@ -1191,7 +1191,7 @@ extern int ba_sub_block_in_record_clear(
error("ba_sub_block_in_record_clear: " error("ba_sub_block_in_record_clear: "
"didn't have the units_used bitmap " "didn't have the units_used bitmap "
"for some reason?"); "for some reason?");
continue; break;
} }
bit_not(jobinfo->units_used); bit_not(jobinfo->units_used);
...@@ -1222,6 +1222,7 @@ extern int ba_sub_block_in_record_clear( ...@@ -1222,6 +1222,7 @@ extern int ba_sub_block_in_record_clear(
xfree(tmp_char3); xfree(tmp_char3);
FREE_NULL_BITMAP(total_bitmap); FREE_NULL_BITMAP(total_bitmap);
} }
break;
} }
list_iterator_destroy(itr); list_iterator_destroy(itr);
......
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