mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/xenstat: Remove usused NetBSD code
remove PROCNETDEV_HEADER[] and read_attributes_vbd(), gcc complains that they are unused Signed-off-by: Manuel Bouyer <bouyer@netbsd.org> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
This commit is contained in:
1 parent
8e4f3b6cd6
commit
4d0fbc2de5
1 file changed
-11
@@ -55,11 +55,6 @@ get_priv_data(xenstat_handle *handle)
|
||||
}
|
||||
|
||||
/* Expected format of /proc/net/dev */
|
||||
static const char PROCNETDEV_HEADER[] =
|
||||
"Inter-| Receive |"
|
||||
" Transmit\n"
|
||||
" face |bytes packets errs drop fifo frame compressed multicast|"
|
||||
"bytes packets errs drop fifo colls carrier compressed\n";
|
||||
|
||||
/* Collect information about networks */
|
||||
int xenstat_collect_networks(xenstat_node * node)
|
||||
@@ -76,12 +71,6 @@ void xenstat_uninit_networks(xenstat_handle * handle)
|
||||
fclose(priv->procnetdev);
|
||||
}
|
||||
|
||||
static int read_attributes_vbd(const char *vbd_directory, const char *what, char *ret, int cap)
|
||||
{
|
||||
/* XXX implement */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Collect information about VBDs */
|
||||
int xenstat_collect_vbds(xenstat_node * node)
|
||||
{
|
||||
|
||||