Travis reports: sched_rt.c:241:30: error: unused function 'rt_dom' [-Werror,-Wunused-function] static inline struct rt_dom *rt_dom(const struct domain *dom) ^ 1 error generated.
when compiling with Clang. Drop the function. Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> --- CC: George Dunlap <george.dun...@eu.citrix.com> CC: Dario Faggioli <dfaggi...@suse.com> CC: Meng Xu <men...@cis.upenn.edu> --- xen/common/sched_rt.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xen/common/sched_rt.c b/xen/common/sched_rt.c index 1c72ea8..ac79f15 100644 --- a/xen/common/sched_rt.c +++ b/xen/common/sched_rt.c @@ -238,11 +238,6 @@ static inline struct rt_vcpu *rt_vcpu(const struct vcpu *vcpu) return vcpu->sched_priv; } -static inline struct rt_dom *rt_dom(const struct domain *dom) -{ - return dom->sched_priv; -} - static inline struct list_head *rt_runq(const struct scheduler *ops) { return &rt_priv(ops)->runq; -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel