about summary refs log tree commit diff
path: root/benchtests/bench-malloc-simple.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-simple.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-simple.c')
-rw-r--r--benchtests/bench-malloc-simple.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/benchtests/bench-malloc-simple.c b/benchtests/bench-malloc-simple.c
index 83203ff318..b8bb2cc116 100644
--- a/benchtests/bench-malloc-simple.c
+++ b/benchtests/bench-malloc-simple.c
@@ -86,9 +86,6 @@ bench (unsigned long size)
 {
   size_t iters = NUM_ITERS;
   int **arr = (int**) malloc (MAX_ALLOCS * sizeof (void*));
-  unsigned long res;
-
-  TIMING_INIT (res);
 
   for (int t = 0; t <= 3; t++)
     for (int i = 0; i < NUM_ALLOCS; i++)