summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/heap.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-01-21 15:22:46 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-01-22 07:52:50 +0100
commit50a50313cc82271c6eb2d2a9031f648648a053a3 (patch)
treed63d05c280b537cfe00b854e162203c8eff31fdd /cpukit/score/src/heap.c
parentFilesystem: Delete node type operation (diff)
downloadrtems-50a50313cc82271c6eb2d2a9031f648648a053a3.tar.bz2
score: Delete superfluous Heap_Statistics::instance
This value depends on the _Heap_Initialize() call sequence and carries no useful information.
Diffstat (limited to 'cpukit/score/src/heap.c')
-rw-r--r--cpukit/score/src/heap.c3
1 files changed, 0 insertions, 3 deletions
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 );