From 5fc583888daa89cf6f3c460e1c6995aadfc04099 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 9 Jun 2013 12:13:08 +0200 Subject: [PATCH] ifpps: Don't calculate diff for stats values not used for relative values These stats values are not reported anywhere in relative terms, so it makes no sense to calculate the difference for them. Signed-off-by: Tobias Klauser --- ifpps.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ifpps.c b/ifpps.c index f2becb52..646c1142 100644 --- a/ifpps.c +++ b/ifpps.c @@ -478,14 +478,10 @@ static void stats_diff(struct ifstat *old, struct ifstat *new, DIFF(tx_colls); DIFF(tx_carrier); - DIFF1(procs_run); - DIFF1(procs_iow); - DIFF1(wifi.signal_level); DIFF1(wifi.link_qual); DIFF1(cswitch); - DIFF1(forks); cpus = get_number_cpus(); -- 2.11.4.GIT