sched/rt: Fix build after c/s c3715dd8fb766
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 8 Mar 2018 11:10:52 +0000 (11:10 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 8 Mar 2018 18:41:09 +0000 (18:41 +0000)
commit5175ce39d8ff0b36e981a7a261f9196aa1879918
treedc96545319639af9c5e350d0d4760dd7ed1eaed5
parent9893f4e8c2d9f6c4fdb5f4775403c413467da9ec
sched/rt: Fix build after c/s c3715dd8fb766

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.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Meng Xu <mengxu@cis.upenn.edu>
xen/common/sched_rt.c