summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/resource_snapshot.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-19 14:12:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-21 07:29:40 +0200
commit36cd27c1e3ebb3796fa486cddd36b43b7be4cb6b (patch)
treeef589792781b889c8bf8bee1e46c13815770a575 /cpukit/libcsupport/src/resource_snapshot.c
parentscore: Simplify _Objects_Initialize_information() (diff)
downloadrtems-36cd27c1e3ebb3796fa486cddd36b43b7be4cb6b.tar.bz2
score: Simplify _Objects_Get_next()
Remove unused location parameter.
Diffstat (limited to 'cpukit/libcsupport/src/resource_snapshot.c')
-rw-r--r--cpukit/libcsupport/src/resource_snapshot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/resource_snapshot.c b/cpukit/libcsupport/src/resource_snapshot.c
index 198015593f..469df72b05 100644
--- a/cpukit/libcsupport/src/resource_snapshot.c
+++ b/cpukit/libcsupport/src/resource_snapshot.c
@@ -107,10 +107,8 @@ static void get_heap_info(Heap_Control *heap, Heap_Information_block *info)
static POSIX_Keys_Control *get_next_key(Objects_Id *id)
{
- Objects_Locations location;
-
return (POSIX_Keys_Control *)
- _Objects_Get_next(&_POSIX_Keys_Information, *id, &location, id);
+ _Objects_Get_next(*id, &_POSIX_Keys_Information, id);
}
static uint32_t get_active_posix_key_value_pairs(void)