Skip to content

Commit d3930fa

Browse files
authored
Merge cc740fd into sapling-pr-archive-ktf
2 parents 6a60abc + cc740fd commit d3930fa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Framework/Core/src/TopologyPolicy.cxx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ bool sporadicDataDeps(DataProcessorSpec const& a, DataProcessorSpec const& b)
8787
if (isAWithSporadicInput && isBWithSporadicInput) {
8888
return false;
8989
}
90-
// If a has sporadic inputs
91-
if (isAWithSporadicInput && isBWithSporadicInput) {
92-
return false;
93-
}
9490

9591
// We have a with sporadic inputs. We sort it later, unless there was already some actual
9692
// dependency between A and B.
@@ -200,6 +196,7 @@ bool expendableDataDeps(DataProcessorSpec const& a, DataProcessorSpec const& b)
200196
if (sporadic) {
201197
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "%s is expendable. No inverse dependency from %s to %s. However the former has an occasioanl input => true.",
202198
a.name.c_str(), b.name.c_str(), a.name.c_str());
199+
return true;
203200
}
204201
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "%s is expendable. No inverse dependency from %s to %s => false.",
205202
a.name.c_str(), b.name.c_str(), a.name.c_str());

0 commit comments

Comments
 (0)