sched: remove sched_init_pdata()
authorJuergen Gross <jgross@suse.com>
Tue, 18 Feb 2020 15:25:02 +0000 (16:25 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 18 Feb 2020 15:25:02 +0000 (16:25 +0100)
commita3134a2eb099f01d2247c7f547a448467bc24149
tree4009cc32a924db11f6aca0770b4223da4f8ec903
parenta5dccdd86651f6d7eb0c2b9fb0347a4e770184ff
sched: remove sched_init_pdata()

sched_init_pdata() is used nowhere, it can be removed. Same applies to
the .init_pdata hook of the per-scheduler interface. The last caller
has been removed with commit f855dd962523b6cb47a92037bdd28b1485141abe
("sched: add minimalistic idle scheduler for free cpus").

With the idle scheduler introduction the switch_sched hook became the
only place where new cpus get added to a normal scheduler, so the
init_pdata functionality is performed inside that hook.

Adjust some comments as well to reflect reality. While at it correct a
typo in a comment next to a modified comment.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched/core.c
xen/common/sched/credit.c
xen/common/sched/credit2.c
xen/common/sched/null.c
xen/common/sched/private.h
xen/common/sched/rt.c