diff options
author | rbuj <[email protected]> | 2020-12-15 03:22:57 +0100 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2020-12-17 07:29:54 -0500 |
commit | 60cb54fb957857fb64dd93b878b46710948de750 (patch) | |
tree | 154251cff38ab91c5b66df45dc6897b53127ba9e /multiload/src/linux-proc.c | |
parent | c81929efb9f1f26847ae49f8b05ccfa71f6436a9 (diff) | |
download | mate-applets-60cb54fb957857fb64dd93b878b46710948de750.tar.bz2 mate-applets-60cb54fb957857fb64dd93b878b46710948de750.tar.xz |
multiload: Drop scaler from GetNet
Diffstat (limited to 'multiload/src/linux-proc.c')
-rw-r--r-- | multiload/src/linux-proc.c | 7 |
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) |