projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e38564
)
zone plugin: remove unused code
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Jul 2016 21:24:46 +0000
(23:24 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 11:15:26 +0000
(13:15 +0200)
src/zone.c
patch
|
blob
|
history
diff --git
a/src/zone.c
b/src/zone.c
index
0e9fee3
..
ba07c9e
100644
(file)
--- 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 */