Skip to content

Commit

Permalink
Remove unnecessary returns in abort() paths. (#127)
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel K. Gutierrez <samuel@lanl.gov>
  • Loading branch information
samuelkgutierrez authored May 1, 2024
1 parent a010e37 commit a9abe75
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/qvi-scope.cc
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,6 @@ agg_split_user_defined(
// Developer sanity check.
if (cpusets.size() != split_size) {
qvi_abort();
return QV_ERR_INTERNAL;
}
// Maintains the mapping between task (consumer) IDs and resource IDs.
qvi_map_t map{};
Expand Down Expand Up @@ -953,7 +952,6 @@ agg_split_affinity_preserving_pass1(
// Make sure that we mapped all the tasks. If not, this is a bug.
if (qvi_map_nfids_mapped(map) != group_size) {
qvi_abort();
return QV_ERR_INTERNAL;
}
// Update the hardware pools and colors to reflect the new mapping.
return apply_cpuset_mapping(
Expand Down

0 comments on commit a9abe75

Please sign in to comment.