diff options
Diffstat (limited to 'multiload/linux-proc.c')
-rw-r--r-- | multiload/linux-proc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/multiload/linux-proc.c b/multiload/linux-proc.c index db532b8c..00b35b50 100644 --- a/multiload/linux-proc.c +++ b/multiload/linux-proc.c @@ -416,7 +416,6 @@ GetNet (int Maximum, int data [4], LoadGraph *g) else { int delta[COUNT_TYPES]; - int total = 0; for (i = 0; i < COUNT_TYPES; i++) { @@ -425,11 +424,8 @@ GetNet (int Maximum, int data [4], LoadGraph *g) delta[i] = (present[i] - past[i]); else delta[i] = 0; - total += delta[i]; } - //max = autoscaler_get_max(&scaler, total); - for (i = 0; i < COUNT_TYPES; i++) data[i] = delta[i]; |