tools/xenstat: Fix -Wunused-function issue
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 13 Aug 2019 14:14:19 +0000 (15:14 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 14 Aug 2019 11:04:20 +0000 (12:04 +0100)
commit02378ea85c23ae914c0b0b19604ceff138f0f4dd
treedba1f0ca5cf9b23608bebb01b6220b56ac1f1048
parent1722da6c0c6f6b7b320bdd239c46c0cb1048f804
tools/xenstat: Fix -Wunused-function issue

When compiling xenstat with -Werror, Clang complains:

  src/xenstat.c:134:34: error: unused function 'parse' [-Werror,-Wunused-function]
  static inline unsigned long long parse(char *s, char *match)
                                   ^
  1 error generated.

Drop the function.  It really is unused.

Spotted by Travis-CI.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/xenstat/libxenstat/src/xenstat.c