From 60cb54fb957857fb64dd93b878b46710948de750 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 15 Dec 2020 03:22:57 +0100 Subject: multiload: Drop scaler from GetNet --- multiload/src/linux-proc.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'multiload/src') diff --git a/multiload/src/linux-proc.c b/multiload/src/linux-proc.c index e084d4b3..7e4da605 100644 --- a/multiload/src/linux-proc.c +++ b/multiload/src/linux-proc.c @@ -364,7 +364,6 @@ GetNet (int Maximum, static int ticks = 0; static gulong past[COUNT_TYPES] = {0}; - static AutoScaler scaler; gulong present[COUNT_TYPES] = {0}; @@ -375,12 +374,6 @@ GetNet (int Maximum, MultiloadApplet *multiload; multiload = g->multiload; - - if(ticks == 0) - { - autoscaler_init (&scaler, g->speed, 501); - } - devices = glibtop_get_netlist(&netlist); for(i = 0; i < netlist.number; ++i) -- cgit v1.2.1