summaryrefslogtreecommitdiff
path: root/multiload
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-15 03:22:57 +0100
committerVictor Kareh <[email protected]>2020-12-17 07:29:54 -0500
commit60cb54fb957857fb64dd93b878b46710948de750 (patch)
tree154251cff38ab91c5b66df45dc6897b53127ba9e /multiload
parentc81929efb9f1f26847ae49f8b05ccfa71f6436a9 (diff)
downloadmate-applets-60cb54fb957857fb64dd93b878b46710948de750.tar.bz2
mate-applets-60cb54fb957857fb64dd93b878b46710948de750.tar.xz
multiload: Drop scaler from GetNet
Diffstat (limited to 'multiload')
-rw-r--r--multiload/src/linux-proc.c7
1 files changed, 0 insertions, 7 deletions
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)