fix null sched build with clang and debug=n
authorDoug Goldstein <cardoe@cardoe.com>
Tue, 20 Mar 2018 10:23:29 +0000 (11:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 20 Mar 2018 10:23:29 +0000 (11:23 +0100)
commit38d9184284793b075df97bc263eb8e4ae1ec7671
tree5c604de5de7d40ddb43b5f3a36885242ad13308f
parent4e131596f1defec9407b6e60d584a696beaf5d7e
fix null sched build with clang and debug=n

The null_dom() static inline is just used when debug=y so with clang it
results in an error with the default CFLAGS and debug=n. This function
is used in only one place and it a one line helper so remove it until we
actually need it.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched_null.c