diff options
Diffstat (limited to 'web/api/formatters/rrd2json.c')
-rw-r--r-- | web/api/formatters/rrd2json.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/web/api/formatters/rrd2json.c b/web/api/formatters/rrd2json.c index 7d727ce1a1..139fa6ec86 100644 --- a/web/api/formatters/rrd2json.c +++ b/web/api/formatters/rrd2json.c @@ -3,14 +3,6 @@ #include "web/api/web_api_v1.h" #include "database/storage_engine.h" -inline bool query_target_has_percentage_units(struct query_target *qt) { - if(qt->window.options & RRDR_OPTION_PERCENTAGE || - qt->window.time_group_method == RRDR_GROUPING_CV) - return true; - - return false; -} - void rrd_stats_api_v1_chart(RRDSET *st, BUFFER *wb) { rrdset2json(st, wb, NULL, NULL, 0); } |