Remove unused variable and silence clang warnings.

Differential Revision:	D2681
Reviewed by:		rodrigc
This commit is contained in:
Marcelo Araujo 2015-06-04 02:50:13 +00:00
parent 05ca4439a2
commit 58c8c85234

View File

@ -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) {