Skip to content

Commit

Permalink
libmetrics: netbsd: dead code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
carenas committed May 3, 2008
1 parent acf50f6 commit eba5bfc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libmetrics/netbsd/metrics.c
Expand Up @@ -82,9 +82,6 @@ static int cpu_state(int which);
// XXX
//static int vm_state(int);

static int use_vm_swap_info = 0;
static int mibswap[MIB_SWAPINFO_SIZE];
static size_t mibswap_size;
static kvm_t *kd = NULL;
static int pagesize;
static int skipvfs;
Expand Down Expand Up @@ -289,7 +286,6 @@ cpu_state(int which)
static struct timeval this_time, last_time;
struct timeval time_diff;
size_t len = sizeof(cp_time);
int i;

if (which == -1) {
bzero(cp_old, sizeof(cp_old));
Expand Down Expand Up @@ -1039,7 +1035,6 @@ makenetvfslist(void)

int mib[3], maxvfsconf;
size_t miblen;
struct ovfsconf *ptr;

mib[0] = CTL_VFS; mib[1] = VFS_GENERIC; mib[2] = VFS_MAXTYPENUM;
miblen=sizeof(maxvfsconf);
Expand Down

0 comments on commit eba5bfc

Please sign in to comment.