**/
#include "collectd.h"
+
#include "common.h"
#include "plugin.h"
#include "configfile.h"
"Interface",
"IgnoreSelected",
"ReportInactive",
- NULL
};
static int config_keys_num = STATIC_ARRAY_SIZE (config_keys);
static int interface_init (void)
{
kstat_t *ksp_chain;
- derive_t val;
numif = 0;
continue;
if (kstat_read (kc, ksp_chain, NULL) == -1)
continue;
- if ((val = get_kstat_value (ksp_chain, "obytes")) == -1LL)
+ if (get_kstat_value (ksp_chain, "obytes") == -1LL)
continue;
ksp[numif++] = ksp_chain;
}