about summary refs log tree commit diff
path: root/benchtests/bench-malloc-thread.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2019-04-09 11:38:24 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2019-04-09 11:38:24 +0100
commit6103c0a8116960527708e8fc030a6c043cf51bb5 (patch)
tree71f4400c93429517900f44b0df3c86af2862eddd /benchtests/bench-malloc-thread.c
parent333221862ecbebde60dd16e7ca17d26444e62f50 (diff)
downloadglibc-6103c0a8116960527708e8fc030a6c043cf51bb5.tar.gz
glibc-6103c0a8116960527708e8fc030a6c043cf51bb5.tar.xz
glibc-6103c0a8116960527708e8fc030a6c043cf51bb5.zip
Remove TIMING_INIT
Remove TIMING_INIT since it's no longer used.

	* benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
	* benchtests/bench-malloc-thread.c: Likewise.
	* benchtests/bench-skeleton.c: Likewise.
	* benchtests/bench-strtod.c: Likewise.
	* benchtests/bench-timing.h: Likewise.
Diffstat (limited to 'benchtests/bench-malloc-thread.c')
-rw-r--r--benchtests/bench-malloc-thread.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/benchtests/bench-malloc-thread.c b/benchtests/bench-malloc-thread.c
index bb4ba727a8..52261425b0 100644
--- a/benchtests/bench-malloc-thread.c
+++ b/benchtests/bench-malloc-thread.c
@@ -225,7 +225,6 @@ main (int argc, char **argv)
 {
   timing_t cur;
   size_t iters = 0, num_threads = 1;
-  unsigned long res;
   json_ctx_t json_ctx;
   double d_total_s, d_total_i;
   struct sigaction act;
@@ -261,10 +260,6 @@ main (int argc, char **argv)
 
   json_attr_object_begin (&json_ctx, "");
 
-  TIMING_INIT (res);
-
-  (void) res;
-
   memset (&act, 0, sizeof (act));
   act.sa_handler = &alarm_handler;