From 50a50313cc82271c6eb2d2a9031f648648a053a3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 21 Jan 2015 15:22:46 +0100 Subject: score: Delete superfluous Heap_Statistics::instance This value depends on the _Heap_Initialize() call sequence and carries no useful information. --- cpukit/score/src/heap.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'cpukit/score/src') diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c index 1550c4ce1c..3fddb1a04c 100644 --- a/cpukit/score/src/heap.c +++ b/cpukit/score/src/heap.c @@ -31,8 +31,6 @@ #error "invalid CPU_ALIGNMENT value" #endif -static uint32_t instance = 0; - /* * _Heap_Initialize * @@ -284,7 +282,6 @@ uintptr_t _Heap_Initialize( stats->min_free_size = first_block_size; stats->free_blocks = 1; stats->max_free_blocks = 1; - stats->instance = instance++; _Heap_Protection_set_delayed_free_fraction( heap, 2 ); -- cgit v1.2.3