HomeClusterLabs Projects

Refactor: scheduler: drop dead code in child_promoting_constraints()

Description

Refactor: scheduler: drop dead code in child_promoting_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:34 PM
Parents
rP60e5315d6ccf: Refactor: scheduler: drop unnecessary arguments to child_promoting_constraints()
Branches
Unknown
Tags
Unknown