From: Karel Zak Date: Fri, 6 Mar 2020 11:46:45 +0000 (+0100) Subject: irqtop: remove dead code X-Git-Tag: v2.36-rc1~196^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6fa6aad4b68f442513331a385e398f270209ea8;p=thirdparty%2Futil-linux.git irqtop: remove dead code Signed-off-by: Karel Zak --- diff --git a/sys-utils/irqtop.c b/sys-utils/irqtop.c index 5ad8a00099..ec7394cb35 100644 --- a/sys-utils/irqtop.c +++ b/sys-utils/irqtop.c @@ -116,7 +116,6 @@ struct irqtop_ctl { int cols; int rows; struct itimerspec timer; - struct timeval uptime_tv; sort_fp *sort_func; struct irq_stat *prev_stat; char *hostname; @@ -722,9 +721,7 @@ int main(int argc, char **argv) resizeterm(ctl.rows, ctl.cols); curs_set(0); - gettime_monotonic(&ctl.uptime_tv); ctl.hostname = xgethostname(); - event_loop(&ctl, win); free_irqinfo(ctl.prev_stat);