Remove unused variable and silence clang warnings.

Differential Revision:	D2681
Reviewed by:		rodrigc
This commit is contained in:
araujo 2015-06-04 02:50:13 +00:00
parent 550d9495d7
commit dc87aac5d1

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