diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2016-01-02 20:02:41 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2016-01-02 20:02:41 +0000 |
commit | 5e02f6231d1553cf9ee01ccd52ef0636f336d523 (patch) | |
tree | 2653c2eea3b7a4b5876be585506d0e3f8bb0d336 | |
parent | 5cff8a4fdd58b1eea02d6f749822d7114d267a99 (diff) |
garbage collect unused variable tm
ok kettenis@ florian@
-rw-r--r-- | usr.bin/systat/cpu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/systat/cpu.c b/usr.bin/systat/cpu.c index 520bb9389f8..90cdeeed6c2 100644 --- a/usr.bin/systat/cpu.c +++ b/usr.bin/systat/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.4 2015/01/16 00:03:37 deraadt Exp $ */ +/* $OpenBSD: cpu.c,v 1.5 2016/01/02 20:02:40 benno Exp $ */ /* * Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org> @@ -246,12 +246,10 @@ initcpu(void) void print_cpu(void) { - time_t tm; int cur = 0, c, i; int end = dispstart + maxprint; int64_t *states; double value[CPUSTATES]; - tm = time(NULL); if (end > num_disp) end = num_disp; |