HomeClusterLabs Projects

Refactor: scheduler: drop dead code in child_demoting_constraints()

Description

Refactor: scheduler: drop dead code in child_demoting_constraints()

Only one caller passed a NULL "child" argument, and it also passed a NULL
"last" argument, which would make the function return without doing anything,
so just drop that call and the special handling for a NULL child.

Details

Provenance
kgaillotAuthored on Jun 16 2022, 2:43 PM
Parents
rPce2f07fb1cce: Refactor: scheduler: drop unnecessary arguments to child_demoting_constraints()
Branches
Unknown
Tags
Unknown