summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat/devstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdevstat/devstat.c')
-rw-r--r--lib/libdevstat/devstat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libdevstat/devstat.c b/lib/libdevstat/devstat.c
index d52332b..68b5028 100644
--- a/lib/libdevstat/devstat.c
+++ b/lib/libdevstat/devstat.c
@@ -334,7 +334,6 @@ devstat_getdevs(kvm_t *kd, struct statinfo *stats)
{
int error;
size_t dssize;
- int oldnumdevs;
long oldgeneration;
int retval = 0;
struct devinfo *dinfo;
@@ -348,7 +347,6 @@ devstat_getdevs(kvm_t *kd, struct statinfo *stats)
return(-1);
}
- oldnumdevs = dinfo->numdevs;
oldgeneration = dinfo->generation;
if (kd == NULL) {
OpenPOWER on IntegriCloud