From: Ruben Kerkhof Date: Sat, 23 Jul 2016 21:24:46 +0000 (+0200) Subject: zone plugin: remove unused code X-Git-Tag: collectd-5.6.0~185 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d2ef97c0604aac14dba6e43d5478c0372bc3ced9;p=collectd.git zone plugin: remove unused code --- diff --git a/src/zone.c b/src/zone.c index 0e9fee38..ba07c9ef 100644 --- a/src/zone.c +++ b/src/zone.c @@ -49,14 +49,6 @@ typedef struct zone_stats { ushort_t pctmem; } zone_stats_t; -static long pagesize; - -static int zone_init (void) -{ - pagesize = sysconf(_SC_PAGESIZE); - return (0); -} - static int zone_compare(const zoneid_t *a, const zoneid_t *b) { @@ -210,6 +202,5 @@ static int zone_read (void) void module_register (void) { - plugin_register_init ("zone", zone_init); plugin_register_read ("zone", zone_read); } /* void module_register */