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.