From d2ef97c0604aac14dba6e43d5478c0372bc3ced9 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Jul 2016 23:24:46 +0200 Subject: [PATCH] zone plugin: remove unused code --- src/zone.c | 9 --------- 1 file changed, 9 deletions(-) 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 */ -- 2.30.2